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

Remove bad Code attribute parsing code

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 14
    • 14
    • hotspot
    • b21

    Description

      For class file versions <= 45.2, the JVM accepts class files whose Code attribute max_stack and max_locals sizes are 1 byte and attribute length size is 2 bytes. This is not described by the JVM spec and needs to be removed.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: