--- 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,