8181087: Module system implementation refresh (6/2017)

Reviewed-by: sspitsyn, hseigel
This commit is contained in:
Alan Bateman 2017-06-16 09:20:23 -07:00
parent 39a669e102
commit 2f378477c4
10 changed files with 4 additions and 272 deletions

View file

@ -2937,8 +2937,8 @@ jint Arguments::parse_each_vm_init_arg(const JavaVMInitArgs* args, bool* patch_m
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