changeset 13473:6b59d482c269

Remove --permit-illegal-access
author alanb
date Thu, 15 Jun 2017 13:23:18 +0100
parents 9ace2316ce1c
children bc3d2b52debd
files src/share/vm/runtime/arguments.cpp
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Thu Jun 08 18:39:27 2017 +0100
+++ b/src/share/vm/runtime/arguments.cpp	Thu Jun 15 13:23:18 2017 +0100
@@ -2941,10 +2941,6 @@
       if (!create_property("jdk.module.illegalAccess", tail, ExternalProperty)) {
         return JNI_ENOMEM;
       }
-    } else if (match_option(option, "--permit-illegal-access")) {
-      if (!create_property("jdk.module.illegalAccess", "warn", ExternalProperty)) {
-        return JNI_ENOMEM;
-      }
     // -agentlib and -agentpath
     } else if (match_option(option, "-agentlib:", &tail) ||
           (is_absolute_path = match_option(option, "-agentpath:", &tail))) {