changeset 1660:86be56b9ba46

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 b9a3819ac7c6
children e4de17987e7d fc9ed50498fb
files hotspot/src/share/vm/utilities/vmError.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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(),