7110720: Issue with vm config file loadingIssue with vm config file loading

Disabling default config files if -XX:-ReadDefaultConfigFiles

Reviewed-by: phh, jrose, dcubed, dholmes
This commit is contained in:
Keith McGuigan 2012-03-29 18:55:32 -04:00
parent f48f666a63
commit fbcf78297f
5 changed files with 146 additions and 5 deletions

View file

@ -3002,12 +3002,14 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
}
}
#ifdef ASSERT
// Parse default .hotspotrc settings file
if (!settings_file_specified) {
if (!process_settings_file(".hotspotrc", false, args->ignoreUnrecognized)) {
return JNI_EINVAL;
}
}
#endif
if (PrintVMOptions) {
for (index = 0; index < args->nOptions; index++) {