mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8213760: os::obsolete_option is obsolete and should be removed
Reviewed-by: jiangli, igerasim, stuefe
This commit is contained in:
parent
a8a34764b2
commit
ea22b27348
7 changed files with 4 additions and 43 deletions
|
@ -2074,17 +2074,10 @@ bool Arguments::is_bad_option(const JavaVMOption* option, jboolean ignore,
|
|||
option_type = ++spacer; // Set both to the empty string.
|
||||
}
|
||||
|
||||
if (os::obsolete_option(option)) {
|
||||
jio_fprintf(defaultStream::error_stream(),
|
||||
"Obsolete %s%soption: %s\n", option_type, spacer,
|
||||
option->optionString);
|
||||
return false;
|
||||
} else {
|
||||
jio_fprintf(defaultStream::error_stream(),
|
||||
"Unrecognized %s%soption: %s\n", option_type, spacer,
|
||||
option->optionString);
|
||||
return true;
|
||||
}
|
||||
jio_fprintf(defaultStream::error_stream(),
|
||||
"Unrecognized %s%soption: %s\n", option_type, spacer,
|
||||
option->optionString);
|
||||
return true;
|
||||
}
|
||||
|
||||
static const char* user_assertion_options[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue