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

Missing InnerClasses attribute check

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 18
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
      None

      Description

      Section 4.7.6 of the JVM Spec contains the following:

      If a class file has a version number that is 51.0 or above, 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.

      This check is missing from the JVM.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hseigel Harold Seigel
              Reporter:
              hseigel Harold Seigel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: