src/share/vm/classfile/classFileParser.hpp

changeset 6782
f73af4455d7d
parent 6765
f0d759a6a230
parent 6680
78bbf4d43a14
child 6876
710a3c8b516e
child 7290
90257dfad6e3
     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) {

mercurial