1.1 --- a/src/share/vm/classfile/classFileParser.hpp Wed May 28 12:07:21 2014 -0700 1.2 +++ b/src/share/vm/classfile/classFileParser.hpp Thu May 29 09:56:06 2014 -0700 1.3 @@ -313,7 +313,9 @@ 1.4 if (!b) { classfile_parse_error(msg, CHECK); } 1.5 } 1.6 1.7 - inline void assert_property(bool b, const char* msg, TRAPS) { 1.8 +PRAGMA_DIAG_PUSH 1.9 +PRAGMA_FORMAT_NONLITERAL_IGNORED 1.10 +inline void assert_property(bool b, const char* msg, TRAPS) { 1.11 #ifdef ASSERT 1.12 if (!b) { 1.13 ResourceMark rm(THREAD); 1.14 @@ -330,6 +332,7 @@ 1.15 } 1.16 #endif 1.17 } 1.18 +PRAGMA_DIAG_POP 1.19 1.20 inline void check_property(bool property, const char* msg, int index, TRAPS) { 1.21 if (_need_verify) {