hotspot/src/share/vm/runtime/arguments.cpp
changeset 46632 cef226af6c02
parent 46625 edefffab74e2
parent 45697 0c16897a4995
child 46633 5b87fe93ef6d
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Wed Jul 05 11:03:19 2017 -0700
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Wed Jul 05 18:14:48 2017 -0700
@@ -2921,8 +2921,8 @@
       if (res != JNI_OK) {
         return res;
       }
-    } else if (match_option(option, "--permit-illegal-access")) {
-      if (!create_property("jdk.module.permitIllegalAccess", "true", ExternalProperty)) {
+    } else if (match_option(option, "--illegal-access=", &tail)) {
+      if (!create_property("jdk.module.illegalAccess", tail, ExternalProperty)) {
         return JNI_ENOMEM;
       }
     // -agentlib and -agentpath