Mercurial > hg > truffle
diff src/share/vm/runtime/arguments.cpp @ 17667:cd7a42c7be06
8027314: Java should recognize Diagnostic options if -XX:+UnlockDiagnosticVMOptions is not specified and print an informative message
Summary: clarifying the error messages associated with vm options of type diagnostic, experimental, develop, and notproduct
Reviewed-by: kvn, twisti, ctornqvi
author | ccheung |
---|---|
date | Thu, 16 Jan 2014 10:51:16 -0800 |
parents | a034dc5e910b |
children | 1419657ed891 |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Wed Feb 05 15:14:47 2014 -0800 +++ b/src/share/vm/runtime/arguments.cpp Thu Jan 16 10:51:16 2014 -0800 @@ -878,7 +878,7 @@ arg_len = equal_sign - argname; } - Flag* found_flag = Flag::find_flag((const char*)argname, arg_len, true); + Flag* found_flag = Flag::find_flag((const char*)argname, arg_len, true, true); if (found_flag != NULL) { char locked_message_buf[BUFLEN]; found_flag->get_locked_message(locked_message_buf, BUFLEN);