changeset 13307:4b8d0f719079

Rename --force-open-all-module-packages to --permit-illegal-access, further cleanup
author alanb
date Wed, 08 Mar 2017 18:24:26 +0000
parents a581f6ce5223
children c3da6e52c754
files src/share/vm/runtime/arguments.cpp
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Tue Mar 07 12:37:20 2017 +0000
+++ b/src/share/vm/runtime/arguments.cpp	Wed Mar 08 18:24:26 2017 +0000
@@ -2932,9 +2932,8 @@
       if (res != JNI_OK) {
         return res;
       }
-    } else if (match_option(option, "--force-open-all-module-packages")) {
-      warning("--force-open-all-module-packages will be removed in a future release\n");
-      if (!create_property("jdk.module.forceOpenAllModulePackages", "true", ExternalProperty)) {
+    } else if (match_option(option, "--permit-illegal-access")) {
+      if (!create_property("jdk.module.permitIllegalAccess", "true", ExternalProperty)) {
         return JNI_ENOMEM;
       }
     // -agentlib and -agentpath