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 Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.8, 1.7-rc-2
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      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.

        Issue Links

          Activity

          Hide
          Roshan Dawrani added a comment -

          Also fixed it on 1.7-rc-2 branch after discussing it with Jochen.

          Show
          Roshan Dawrani added a comment - Also fixed it on 1.7-rc-2 branch after discussing it with Jochen.
          Hide
          Roshan Dawrani added a comment -

          Fixed.

          Show
          Roshan Dawrani added a comment - Fixed.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: