--- old/src/share/vm/oops/method.cpp 2014-04-29 16:55:13.000000000 -0400 +++ new/src/share/vm/oops/method.cpp 2014-04-29 16:55:12.000000000 -0400 @@ -55,6 +55,7 @@ #include "utilities/quickSort.hpp" #include "utilities/xmlstream.hpp" +PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC // Implementation of Method @@ -1424,7 +1425,7 @@ void type_name(const char* name) { if (_use_separator) _st->print(", "); - _st->print(name); + _st->print_raw(name); _use_separator = true; } @@ -1897,7 +1898,7 @@ void Method::print_on(outputStream* st) const { ResourceMark rm; assert(is_method(), "must be method"); - st->print_cr(internal_name()); + st->print_raw_cr(internal_name()); // get the effect of PrintOopAddress, always, for methods: st->print_cr(" - this oop: "INTPTR_FORMAT, (intptr_t)this); st->print (" - method holder: "); method_holder()->print_value_on(st); st->cr(); @@ -1980,7 +1981,7 @@ void Method::print_value_on(outputStream* st) const { assert(is_method(), "must be method"); - st->print(internal_name()); + st->print_raw(internal_name()); print_address_on(st); st->print(" "); name()->print_value_on(st);