8203938: Fix build failures from JDK-8133564
Summary: Added missing static keyword
Reviewed-by: kbarrett, tschatzl
--- 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;
};