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

[MVT] Verifier should enforce that only vbytecodes occur in classfile version 53.1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      The following code should be uncommented out in verifier.cpp when JDK-8187320 is fixed.

      verifier.cpp, ClassVerifier::verify_method()

        // Verify value type bytecodes if enabled and class file version supports them.
        // Commented check out for now until class file version 54.1 is generated.
        bool vbytecodes_allowed = (EnableMVT || EnableValhalla);
                                   //_klass->major_version() >= Verifier::VALUETYPE_MAJOR_VERSION &&
                                   //_klass->minor_version() >= Verifier::VALUETYPE_MINOR_VERSION);

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lfoltan Lois Foltan
                Reporter:
                lfoltan Lois Foltan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: