diff src/share/vm/runtime/signature.cpp @ 1490:f03d0a26bf83

6888954: argument formatting for assert() and friends Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
author jcoomes
date Thu, 22 Apr 2010 13:23:15 -0700
parents a61af66fc99e
children df736661d0c8
line wrap: on
line diff
--- a/src/share/vm/runtime/signature.cpp	Sun Oct 11 16:19:25 2009 -0700
+++ b/src/share/vm/runtime/signature.cpp	Thu Apr 22 13:23:15 2010 -0700
@@ -57,7 +57,7 @@
 }
 
 void SignatureIterator::expect(char c) {
-  if (_signature->byte_at(_index) != c) fatal1("expecting %c", c);
+  if (_signature->byte_at(_index) != c) fatal(err_msg("expecting %c", c));
   _index++;
 }