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

Remove bad Code attribute parsing code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      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

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

                Dates

                Created:
                Updated:
                Resolved: