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

Annotation attributes must not appear more than once

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • hotspot
    • b15

    Description

      The JVM Specification says that there may be at most one of the following attributes in the attributes table of a ClassFile, field_info, or method_info structure for these attributes: Runtime(In)VisibleAnnotations, Runtime(In)VisibleParameterAnnotations, AnnotationDefault, and SourceDebugExtension.

      The verifier does not detect if these attributes are specified multiple times per relevant ClassFile, field_info, or method_info structure.

      Attachments

        Activity

          People

            hseigel Harold Seigel (Inactive)
            hseigel Harold Seigel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: