8204295: [BACKOUT] - JVMFlag::printError missing ATTRIBUTE_PRINTF
authorgziemski
Mon, 04 Jun 2018 13:53:51 -0500
changeset 50387 3b52a76c7902
parent 50386 a869e556dc4e
child 50388 55fac6146d31
8204295: [BACKOUT] - JVMFlag::printError missing ATTRIBUTE_PRINTF Summary: Backed out the original fix. Reviewed-by: kbarrett, lfoltan
src/hotspot/share/runtime/flags/jvmFlag.hpp
--- a/src/hotspot/share/runtime/flags/jvmFlag.hpp	Mon Jun 04 10:27:48 2018 -0700
+++ b/src/hotspot/share/runtime/flags/jvmFlag.hpp	Mon Jun 04 13:53:51 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);
-  static void printError(bool verbose, const char* msg, ...) ATTRIBUTE_PRINTF(2, 3);
+  static void printError(bool verbose, const char* msg, ...);
 
   static void verify() PRODUCT_RETURN;
 };