United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7166955 (pack200) JNI_GetCreatedJavaVMs needs additional checking
JDK-7166955 : (pack200) JNI_GetCreatedJavaVMs needs additional checking

Details
Type:
Bug
Submit Date:
2012-05-07
Status:
Closed
Updated Date:
2012-11-29
Project Name:
JDK
Resolved Date:
2012-06-19
Component:
core-libs
OS:
generic
Sub-Component:
java.util.jar
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:

Related Reports
Backport:

Sub Tasks

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.

                                    

Comments
EVALUATION

yes would be good practice.
                                     
2012-05-07



Hardware and Software, Engineered to Work Together