8213760: os::obsolete_option is obsolete and should be removed

Reviewed-by: jiangli, igerasim, stuefe
This commit is contained in:
David Holmes 2018-11-13 16:49:58 -05:00
parent a8a34764b2
commit ea22b27348
7 changed files with 4 additions and 43 deletions

View file

@ -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[] = {