mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
7162488: VM not printing unknown -XX options
Reviewed-by: dholmes, kamg
This commit is contained in:
parent
cf406f37e3
commit
7e36bafdcd
2 changed files with 80 additions and 0 deletions
|
@ -829,6 +829,9 @@ bool Arguments::process_argument(const char* arg,
|
|||
} else {
|
||||
jio_fprintf(defaultStream::error_stream(), "%s", locked_message_buf);
|
||||
}
|
||||
} else {
|
||||
jio_fprintf(defaultStream::error_stream(),
|
||||
"Unrecognized VM option '%s'\n", argname);
|
||||
}
|
||||
|
||||
// allow for commandline "commenting out" options like -XX:#+Verbose
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue