--- old/src/share/vm/runtime/arguments.cpp 2016-09-16 09:33:53.812311378 -0700 +++ new/src/share/vm/runtime/arguments.cpp 2016-09-16 09:33:53.692302944 -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");