mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
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:
parent
f48f666a63
commit
fbcf78297f
5 changed files with 146 additions and 5 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue