JDK-8272104 : Missing InnerClasses attribute check
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 18
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2021-08-06
  • Updated: 2021-11-04
  • Resolved: 2021-08-10
Related Reports
Relates :  
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.
Comments
RT Triage: Closing as WNF based on last comment.
10-08-2021