diff src/share/vm/utilities/exceptions.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 4ce7240d622c
children c18cbe5936b8
line wrap: on
line diff
--- a/src/share/vm/utilities/exceptions.cpp	Sun Oct 11 16:19:25 2009 -0700
+++ b/src/share/vm/utilities/exceptions.cpp	Thu Apr 22 13:23:15 2010 -0700
@@ -378,7 +378,7 @@
 void Exceptions::debug_check_abort(const char *value_string) {
   if (AbortVMOnException != NULL && value_string != NULL &&
       strstr(value_string, AbortVMOnException)) {
-    fatal1("Saw %s, aborting", value_string);
+    fatal(err_msg("Saw %s, aborting", value_string));
   }
 }