-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.0-beta-1, 2.5.7
-
Fix Version/s: 2.5.8, 3.0.0-beta-2
-
Component/s: Compiler
-
Labels:None
A class defined as
@groovy.transform.AutoClone class ClassUnderTest { Object clone() throws java.lang.CloneNotSupportedException { null } }
Will override the definition of clone every single time.
In contrast with @Canonical for example where explicit toString() is not overridden.
- is related to
-
GROOVY-9161 Sortable AST transform replaces custom compareTo method
-
- Closed
-