--- old/src/share/vm/runtime/arguments.cpp 2016-09-14 11:20:37.349573757 -0700 +++ new/src/share/vm/runtime/arguments.cpp 2016-09-14 11:20:37.227565179 -0700 @@ -3923,10 +3923,6 @@ void Arguments::set_shared_spaces_flags() { if (DumpSharedSpaces) { - if (Arguments::get_patch_mod_prefix() != NULL) { - vm_exit_during_initialization( - "Cannot use the following option when dumping the shared archive: --patch-module"); - } if (RequireSharedSpaces) { warning("Cannot dump shared archive while using shared archive");