8156789: missing condition in ClassPathZipEntry::open_versioned_entry()

Added back the !_is_boot_append condition

Reviewed-by: hseigel, jiangli
This commit is contained in:
Calvin Cheung 2016-05-11 12:19:59 -07:00
parent 2b53799702
commit baca9fb3f6

@ -320,7 +320,7 @@ u1* ClassPathZipEntry::open_entry(const char* name, jint* filesize, bool nul_ter
#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");