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.
|