Mercurial > hg > truffle
diff src/share/vm/runtime/arguments.cpp @ 6017:f3a4ee95783b
7162488: VM not printing unknown -XX options
Reviewed-by: dholmes, kamg
author | kevinw |
---|---|
date | Fri, 20 Apr 2012 14:55:45 +0100 |
parents | ad412114302a |
children | 35e504cb49a6 9d679effd28c 84e198dc2474 |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Tue Mar 06 12:36:59 2012 +0100 +++ b/src/share/vm/runtime/arguments.cpp Fri Apr 20 14:55:45 2012 +0100 @@ -829,6 +829,9 @@ } 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