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
--- a/hotspot/src/share/vm/utilities/vmError.cpp Mon Dec 08 15:50:55 2008 -0500
+++ b/hotspot/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(),