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

outer_class_info_index of synthetic class is not zero

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b09
    • CPU:
      generic
    • OS:
      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

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: