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

Annotation property which is compiled as an array property but changed to a single element throws NullPointerException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: core-libs

      Description

      If an annotation property is defined as an array and later changed to a non-array property, annotations that are compiled with the former annotation will cause a NullPointerException during annotation parsing.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              winterhalter Rafael Winterhalter
              Reporter:
              winterhalter Rafael Winterhalter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: