changeset 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 7b920868b475
children 7b75310e57e2 24fda36852ce
files src/share/vm/utilities/vmError.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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(),