Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-beta-1, 2.5.7
-
None
Description
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.
Attachments
Issue Links
- is related to
-
GROOVY-9161 Sortable AST transform replaces custom compareTo method
- Closed