diff -r a7c0f60a1294 -r 294e48b4f704 hotspot/src/share/vm/utilities/fakeRttiSupport.hpp --- a/hotspot/src/share/vm/utilities/fakeRttiSupport.hpp Mon Sep 28 15:05:02 2015 +0200 +++ b/hotspot/src/share/vm/utilities/fakeRttiSupport.hpp Tue Sep 29 11:02:08 2015 +0200 @@ -76,8 +76,8 @@ FakeRttiSupport add_tag(TagType tag) const { uintx tbit = tag_bit(tag); assert((_tag_set & tbit) == 0, - err_msg("Tag " UINTX_FORMAT " is already present in tag set: " UINTX_FORMAT, - (uintx)tag, _tag_set)); + "Tag " UINTX_FORMAT " is already present in tag set: " UINTX_FORMAT, + (uintx)tag, _tag_set); return FakeRttiSupport(_concrete_tag, _tag_set | tbit); } @@ -90,9 +90,9 @@ } static TagType validate_tag(TagType tag) { - assert(0 <= tag, err_msg("Tag " INTX_FORMAT " is negative", (intx)tag)); + assert(0 <= tag, "Tag " INTX_FORMAT " is negative", (intx)tag); assert(tag < BitsPerWord, - err_msg("Tag " UINTX_FORMAT " is too large", (uintx)tag)); + "Tag " UINTX_FORMAT " is too large", (uintx)tag); return tag; } };