Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8146726

Improve AbstractProcessor to issue warnings for repeated information

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 13
    • Component/s: core-libs
    • Labels:
      None

      Description

      Semantically the arrays used in the "SupportedFoo" annotations read by AbstractProcessor should hold values that are non-repeated; i.e. could be a set. As a diagnostic aid, it would be helpful if the AbstractProcessor issued a warning if a repeated element was found since it is likely to be a programming error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                darcy Joe Darcy
                Reporter:
                darcy Joe Darcy
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: