-
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.AutoExternalize class ClassUnderTest { void writeExternal(ObjectOutput out) throws IOException { } void readExternal(ObjectInput oin) { } }
Will override the definition of readExternal/writeExternal 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
-