< prev index next >

src/share/vm/memory/filemap.cpp

Print this page

        

*** 879,890 **** if (VerifySharedSpaces && compute_crc() != _crc) { fail_continue("Header checksum verification failed."); return false; } ! if (Arguments::get_xpatchprefix() != NULL) { ! FileMapInfo::fail_continue("The shared archive file cannot be used with -Xpatch."); return false; } if (_version != current_version()) { FileMapInfo::fail_continue("The shared archive file is the wrong version."); --- 879,890 ---- if (VerifySharedSpaces && compute_crc() != _crc) { fail_continue("Header checksum verification failed."); return false; } ! if (Arguments::get_patch_mod_prefix() != NULL) { ! FileMapInfo::fail_continue("The shared archive file cannot be used with --patch-module."); return false; } if (_version != current_version()) { FileMapInfo::fail_continue("The shared archive file is the wrong version.");
< prev index next >