--- old/src/share/vm/memory/filemap.cpp 2016-09-08 18:13:53.112669453 -0700 +++ new/src/share/vm/memory/filemap.cpp 2016-09-08 18:13:52.997661367 -0700 @@ -911,11 +911,6 @@ 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 (!Arguments::has_jimage()) { FileMapInfo::fail_continue("The shared archive file cannot be used with an exploded module build."); return false;