diff src/share/vm/runtime/globals.hpp @ 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 10c9507f544a
children b8413a9cbb84 752ba2e5f6d0
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Wed Feb 05 15:14:47 2014 -0800
+++ b/src/share/vm/runtime/globals.hpp	Thu Jan 16 10:51:16 2014 -0800
@@ -241,7 +241,7 @@
   // number of flags
   static size_t numFlags;
 
-  static Flag* find_flag(const char* name, size_t length, bool allow_locked = false);
+  static Flag* find_flag(const char* name, size_t length, bool allow_locked = false, bool return_flag = false);
   static Flag* fuzzy_match(const char* name, size_t length, bool allow_locked = false);
 
   void check_writable();