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

(pack200) JNI_GetCreatedJavaVMs needs additional checking

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b40
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ksrini Kumar Srinivasan (Inactive)
                  Reporter:
                  ksrini Kumar Srinivasan (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: