hotspot/src/share/vm/runtime/arguments.cpp
changeset 44326 6c59cca7ff07
parent 43972 1ade39b8381b
child 44327 88f5f676e22b
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Thu Mar 16 16:34:34 2017 +0000
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Wed Mar 22 16:26:09 2017 +0000
@@ -2932,6 +2932,10 @@
       if (res != JNI_OK) {
         return res;
       }
+    } else if (match_option(option, "--permit-illegal-access")) {
+      if (!create_property("jdk.module.permitIllegalAccess", "true", ExternalProperty)) {
+        return JNI_ENOMEM;
+      }
     // -agentlib and -agentpath
     } else if (match_option(option, "-agentlib:", &tail) ||
           (is_absolute_path = match_option(option, "-agentpath:", &tail))) {