--- 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