hotspot/src/share/vm/runtime/arguments.cpp
changeset 44326 6c59cca7ff07
parent 43972 1ade39b8381b
child 44327 88f5f676e22b
equal deleted inserted replaced
44204:8490172c1777 44326:6c59cca7ff07
  2930       // --patch-module=<module>=<file>(<pathsep><file>)*
  2930       // --patch-module=<module>=<file>(<pathsep><file>)*
  2931       int res = process_patch_mod_option(tail, patch_mod_javabase);
  2931       int res = process_patch_mod_option(tail, patch_mod_javabase);
  2932       if (res != JNI_OK) {
  2932       if (res != JNI_OK) {
  2933         return res;
  2933         return res;
  2934       }
  2934       }
       
  2935     } else if (match_option(option, "--permit-illegal-access")) {
       
  2936       if (!create_property("jdk.module.permitIllegalAccess", "true", ExternalProperty)) {
       
  2937         return JNI_ENOMEM;
       
  2938       }
  2935     // -agentlib and -agentpath
  2939     // -agentlib and -agentpath
  2936     } else if (match_option(option, "-agentlib:", &tail) ||
  2940     } else if (match_option(option, "-agentlib:", &tail) ||
  2937           (is_absolute_path = match_option(option, "-agentpath:", &tail))) {
  2941           (is_absolute_path = match_option(option, "-agentpath:", &tail))) {
  2938       if(tail != NULL) {
  2942       if(tail != NULL) {
  2939         const char* pos = strchr(tail, '=');
  2943         const char* pos = strchr(tail, '=');