Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0-beta-2
    • Component/s: None
    • Labels:
      None

      Description

      This sub-task is about making Groovy aware of the target types TYPE_USE and TYPE_PARAMETER for JDK8+.

      The Groovy compiler should be able to compile annotation definitions containing these targets rather than producing the current error:

      BUG! exception in phase 'class generation' in source unit 'ConsoleScript1' unsupported Target TYPE_USE
      

      Also, after this change, Groovy should be able to use annotations that have a target of TYPE_USE or TYPE_PARAMETER plus one or more other targets. The annotation should be usable according to whatever other targets are specified. Adapting Groovy to also be able to use the annotation at places corresponding to TYPE_USE or TYPE_PARAMETER is the subject of another issue(s).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                paulk Paul King
                Reporter:
                paulk Paul King
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: