Groovy
  1. Groovy
  2. GROOVY-5088

@Immutable should support java.util.UUID

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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

      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.

        Activity

        Kyle Smith created issue -
        Hide
        Paul King added a comment -

        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.

        Show
        Paul King added a comment - 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 .
        Paul King made changes -
        Field Original Value New Value
        Fix Version/s 1.9-beta-5 [ 17925 ]
        Assignee Paul King [ paulk ]
        Fix Version/s 1.8.4 [ 17852 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12734012 ] Default workflow, editable Closed status [ 12745836 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12971557 ] Default workflow, editable Closed status [ 12979398 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 16h 10m 1 Paul King 20/Oct/11 06:58
        Resolved Resolved Closed Closed
        64d 21h 9m 1 Paul King 24/Dec/11 03:08

          People

          • Assignee:
            Paul King
            Reporter:
            Kyle Smith
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development