7162488: VM not printing unknown -XX options

Reviewed-by: dholmes, kamg
This commit is contained in:
Kevin Walls 2012-04-20 14:55:45 +01:00
parent cf406f37e3
commit 7e36bafdcd
2 changed files with 80 additions and 0 deletions

View file

@ -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