hotspot/src/share/vm/utilities/exceptions.hpp
changeset 24424 2658d7834c6e
parent 22539 a27fa687eca8
child 31335 60081f497e75
--- a/hotspot/src/share/vm/utilities/exceptions.hpp	Fri May 09 08:34:22 2014 -0700
+++ b/hotspot/src/share/vm/utilities/exceptions.hpp	Fri May 09 16:50:54 2014 -0400
@@ -132,7 +132,7 @@
   // There is no THROW... macro for this method. Caller should remember
   // to do a return after calling it.
   static void fthrow(Thread* thread, const char* file, int line, Symbol* name,
-                     const char* format, ...);
+                     const char* format, ...) ATTRIBUTE_PRINTF(5, 6);
 
   // Create and initialize a new exception
   static Handle new_exception(Thread* thread, Symbol* name,