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

Improve AbstractProcessor to issue warnings for repeated information

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • 10
    • core-libs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: