Mercurial > hg > truffle
diff src/share/vm/utilities/vmError.cpp @ 473:3ad2b8576c4a
6689685: Hotspot crash error message should include libraries version
Summary: Print out JDK/JRE version that hotspot knows about.
Reviewed-by: kamg, blacklion, acorn, alanb
author | coleenp |
---|---|
date | Tue, 09 Dec 2008 09:55:39 -0500 |
parents | a1980da045cc |
children | dabd8d202164 |
line wrap: on
line diff
--- a/src/share/vm/utilities/vmError.cpp Mon Dec 08 15:50:55 2008 -0500 +++ b/src/share/vm/utilities/vmError.cpp Tue Dec 09 09:55:39 2008 -0500 @@ -332,6 +332,8 @@ // VM version st->print_cr("#"); + JDK_Version::current().to_string(buf, sizeof(buf)); + st->print_cr("# JRE version: %s", buf); st->print_cr("# Java VM: %s (%s %s %s %s)", Abstract_VM_Version::vm_name(), Abstract_VM_Version::vm_release(),