comparison 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
comparison
equal deleted inserted replaced
6006:0105f367a14c 6017:f3a4ee95783b
827 jio_fprintf(defaultStream::error_stream(), 827 jio_fprintf(defaultStream::error_stream(),
828 "Unrecognized VM option '%s'\n", argname); 828 "Unrecognized VM option '%s'\n", argname);
829 } else { 829 } else {
830 jio_fprintf(defaultStream::error_stream(), "%s", locked_message_buf); 830 jio_fprintf(defaultStream::error_stream(), "%s", locked_message_buf);
831 } 831 }
832 } else {
833 jio_fprintf(defaultStream::error_stream(),
834 "Unrecognized VM option '%s'\n", argname);
832 } 835 }
833 836
834 // allow for commandline "commenting out" options like -XX:#+Verbose 837 // allow for commandline "commenting out" options like -XX:#+Verbose
835 return arg[0] == '#'; 838 return arg[0] == '#';
836 } 839 }