hotspot/src/share/vm/runtime/arguments.cpp
changeset 41281 e1dc38ba642f
parent 41077 19f70464986e
child 41708 82f5dc0dfccf
child 41467 45f3ffa45ebc
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Tue Sep 20 11:41:43 2016 +0200
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Tue Sep 20 10:37:19 2016 -0700
@@ -3897,10 +3897,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");