(pack200) JNI_GetCreatedJavaVMs needs additional checking

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • b40
    • generic
    • generic
    • Not verified

        In pack200, jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp
        the use of JNI_GetCreatedJavaVMs needs some checks, the current code
        will work correctly however it might not on other VM implementations.

        Adding the additional check will make it more robust on all VM
        implementations.

              Assignee:
              Kumar Srinivasan
              Reporter:
              Kumar Srinivasan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: