1.1 --- a/src/share/vm/utilities/vmError.cpp Thu Jul 04 21:10:17 2013 -0700 1.2 +++ b/src/share/vm/utilities/vmError.cpp Fri Jul 05 08:26:49 2013 +0000 1.3 @@ -908,10 +908,11 @@ 1.4 // This is not the first error, see if it happened in a different thread 1.5 // or in the same thread during error reporting. 1.6 if (first_error_tid != mytid) { 1.7 - jio_snprintf(buffer, sizeof(buffer), 1.8 + char msgbuf[64]; 1.9 + jio_snprintf(msgbuf, sizeof(msgbuf), 1.10 "[thread " INT64_FORMAT " also had an error]", 1.11 mytid); 1.12 - out.print_raw_cr(buffer); 1.13 + out.print_raw_cr(msgbuf); 1.14 1.15 // error reporting is not MT-safe, block current thread 1.16 os::infinite_sleep();