Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8825

CLONE - Conflict between @Generated and @Delegate

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.3
    • Fix Version/s: 2.5.9, 3.0.0-rc-2
    • Component/s: None
    • Labels:
      None

      Description

      I cloned the issue to try to find a suitable test. There is now an extra guard which should prevent the problem in case I envisage.

      ORIGINAL BELOW:

      I get 
      java.lang.annotation.AnnotationFormatError: Duplicate annotation for class: interface groovy.transform.Generated: @groovy.transform.Generated()
      On a class with a field declared with @Delegate

       

      Removing @Delegate works around the problem

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              paulk Paul King
              Reporter:
              facewindu François Guillot

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                  Issue deployment