8203938: Fix build failures from JDK-8133564
authorgziemski
Tue, 29 May 2018 12:57:39 -0500
changeset 50292 43d41f780a5b
parent 50291 be93f2c7d44a
child 50293 edfb87b2520e
8203938: Fix build failures from JDK-8133564 Summary: Added missing static keyword Reviewed-by: kbarrett, tschatzl
src/hotspot/share/runtime/flags/jvmFlag.hpp
--- a/src/hotspot/share/runtime/flags/jvmFlag.hpp	Tue May 29 09:12:39 2018 -0700
+++ b/src/hotspot/share/runtime/flags/jvmFlag.hpp	Tue May 29 12:57:39 2018 -0500
@@ -276,7 +276,7 @@
 
   // printRanges will print out flags type, name and range values as expected by -XX:+PrintFlagsRanges
   static void printFlags(outputStream* out, bool withComments, bool printRanges = false, bool skipDefaults = false);
-  void printError(bool verbose, const char* msg, ...);
+  static void printError(bool verbose, const char* msg, ...);
 
   static void verify() PRODUCT_RETURN;
 };