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

Groovy 2.5 AnnotationCollector not generating expected bytecode

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.x
    • Fix Version/s: 3.0.0-rc-2
    • Component/s: Compiler, groovy-runtime
    • Labels:
      None
    • Environment:
      Ubuntu 18.04.3 LTS

      Description

      When using @AnnotationController with meta-annotations ( @Canonical, @Immutable ) compiled classes do not contain the expected bytecode.  As an example I have a project that is using a custom annotation with an annotation collector for @Immutatble and @CompileStatic. The error can be reproduced by running ./gradlew clean test against the linked project.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                emilles Eric Milles
                Reporter:
                kod4n Andrew Allen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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