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.

          Activity

          Hide
          ksrini Kumar Srinivasan added a comment -
          BT2:EVALUATION

          yes would be good practice.
          Show
          ksrini Kumar Srinivasan added a comment - BT2:EVALUATION yes would be good practice.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: