Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.3
-
Fix Version/s: 1.8.4, 2.0-beta-1
-
Component/s: None
-
Labels:None
-
Environment:Groovy Version: 1.8.3 JVM: 1.6.0_26
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)
Mac OS X 10.7.2
-
Number of attachments :
Description
ImmutableASTTransformation doesn't list java.util.UUID as a supported field type when using @Immutable, resulting in compile errors. UUID is immutable though, and it would be nice to be able to use it in conjunction with @Immutable.
Thanks for the suggestion. UUID has been added. We should probably also provide a way for this to be user extensible so I created a related issue:
GROOVY-5096.