6689685: Hotspot crash error message should include libraries version
authorcoleenp
Tue, 09 Dec 2008 09:55:39 -0500
changeset 1660 86be56b9ba46
parent 1659 b9a3819ac7c6
child 1663 e4de17987e7d
child 1664 fc9ed50498fb
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
hotspot/src/share/vm/utilities/vmError.cpp
--- 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(),