HotSpot current loads libzip.so unconditionally.
http://hg.openjdk.java.net/jdk/jdk/file/6411242023f9/src/hotspot/share/classfile/classLoader.cpp#l1521
However, we need it only when:
-Xbootclasspath is specified (potentially with a zip file in there)
VerifySharedSpaces is enabled
CDS archive has classes for custom class loaders
AOT is enabled
http://hg.openjdk.java.net/jdk/jdk/file/6411242023f9/src/hotspot/share/classfile/classLoader.cpp#l1521
However, we need it only when:
-Xbootclasspath is specified (potentially with a zip file in there)
VerifySharedSpaces is enabled
CDS archive has classes for custom class loaders
AOT is enabled
- relates to
-
JDK-8244495 Some jlink tests crash on Windows after JDK-8237750
- Resolved
-
JDK-8244549 [BACKOUT]8237750 patch
- Closed
-
JDK-8313210 Zip_lock can be uninitialized on some paths
- Closed
-
JDK-8278753 Runtime crashes with access violation during JNI_CreateJavaVM call
- Resolved