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

[MVT] Version 52 & 53 classfiles are being generated with MVT bytecodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • repo-valhalla
    • repo-valhalla
    • core-libs

      If the verifier is changed to enforce that only version 53.1 is allowed to contain MVT v bytecodes, the following tests fail within the hotspot valhalla test suite.


      Classfile version #52 example:
      runner finished test: runtime/valhalla/valuetypes/verifier/VloadTest.java
      Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: java.lang.ClassFormatError: vload not supported by this class file version (52.0), class runtime.valhalla.valuetypes.verifier.vloadAnInteger/1683463887 in method runtime.valhalla.valuetypes.verifier.vloadAnInteger/1683463887.vloadAnInteger(I)Ljava/lang/Object;

      Classfile verison #53 example:
      runner finished test: runtime/valhalla/valuetypes/ValueTypeGetField.java
      Failed. Execution failed: `main' threw exception: java.lang.ClassFormatError: vload not supported by this class file version (53.0), class runtime.valhalla.valuetypes.ValueTypeGetField in method runtime.valhalla.valuetypes.ValueTypeGetField.checkPoint(Qruntime/valhalla/valuetypes/Point;II)V

            dsimms David Simms
            lfoltan Lois Foltan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: