--- a/hotspot/src/share/vm/classfile/classLoader.cpp Wed May 11 18:49:29 2016 +0300
+++ b/hotspot/src/share/vm/classfile/classLoader.cpp Wed May 11 12:19:59 2016 -0700
@@ -320,7 +320,7 @@
#if INCLUDE_CDS
u1* ClassPathZipEntry::open_versioned_entry(const char* name, jint* filesize, TRAPS) {
u1* buffer = NULL;
- if (DumpSharedSpaces) {
+ if (DumpSharedSpaces && !_is_boot_append) {
// We presume default is multi-release enabled
const char* multi_ver = Arguments::get_property("jdk.util.jar.enableMultiRelease");
const char* verstr = Arguments::get_property("jdk.util.jar.version");