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

groovyc does not allow multiple annotations of the same type even if Retention Policy is SOURCE

    Details

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

      Description

      This issue got highlighted in GROOVY-3925 discussion.

      GROOVY-3852 disallowed duplicate annotations of the same type on the same member, but instead of doing it only for annotations with retention-policy as RUNTIME, it applies it as a general check, which is coming in the way of using multiple @GrabResolver annotations.

      I am creating this separate JIRA to allow multiple SOURCE annotations again, which may partly solve GROOVY-3925.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                roshandawrani Roshan Dawrani
                Reporter:
                roshandawrani Roshan Dawrani
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: