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

outer_class_info_index of synthetic class is not zero

    XMLWordPrintable

Details

    • b09
    • generic
    • generic

    Backports

      Description

        Spec: "If a class file has a version number that is greater than or equal to 51.0, and has an InnerClasses attribute in its attributes table, then for all entries in the classes array of the InnerClasses attribute, the value of the outer_class_info_index item must be zero if the value of the inner_name_index item is zero."

        Synthetic class has inner classes attribute and inner_name_index is zero, but outer_class_info_index is not zero.

        To reproduce use attached code.

        Attachments

          1. Test.java
            1 kB
            Andrei Eremeev

          Issue Links

            Activity

              People

                jlahoda Jan Lahoda
                aeremeev Andrei Eremeev
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: