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
    • Priority: Major 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.

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          4h 50m 1 Roshan Dawrani 08/Dec/09 12:07
          Resolved Resolved Closed Closed
          13d 18h 21m 1 Paul King 22/Dec/09 06:29
          Mark Thomas made changes -
          Workflow jira [ 12970605 ] Default workflow, editable Closed status [ 12978384 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
          Mark Thomas made changes -
          Workflow jira [ 12732892 ] Default workflow, editable Closed status [ 12744718 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
          Paul King made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Paul King made changes -
          Fix Version/s 1.7-rc-2 [ 16011 ]
          Fix Version/s 1.8-beta-1 [ 16013 ]
          Fix Version/s 1.7.1 [ 16014 ]
          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.
          Roshan Dawrani made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.8-beta-1 [ 16013 ]
          Fix Version/s 1.7.1 [ 16014 ]
          Fix Version/s 1.6.8 [ 16019 ]
          Hide
          Roshan Dawrani added a comment -

          Fixed.

          Show
          Roshan Dawrani added a comment - Fixed.
          Roshan Dawrani made changes -
          Link This issue is related to GROOVY-3925 [ GROOVY-3925 ]
          Roshan Dawrani made changes -
          Link This issue relates to GROOVY-3852 [ GROOVY-3852 ]
          Roshan Dawrani made changes -
          Field Original Value New Value
          Assignee Roshan Dawrani [ roshandawrani ]
          Roshan Dawrani created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development