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

Fix classfile version check in java_crw_demo

XMLWordPrintable

    • b64
    • generic
    • generic
    • Not verified

        Problem with jdk/src/share/demo/jvmti/java_crw_demo/java_crw_demo.c:
             CRW_ASSERT(ci, classfileVersion <= 50); /* Mustang class files or less */

        Should add to

         ./jdk/src/share/javavm/export/classfile_constants.h

        Something like:
            #define JAVA_MAX_SUPPORTED_VERSION 51

        Changing above from
           CRW_ASSERT(ci, classfileVersion <= 50);
        to
          CRW_ASSERT(ci, classfileVersion <= JAVA_MAX_SUPPORTED_VERSION);

              ohair Kelly Ohair (Inactive)
              ohair Kelly Ohair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: