6689685: Hotspot crash error message should include libraries version

Print out JDK/JRE version that hotspot knows about.

Reviewed-by: kamg, blacklion, acorn, alanb
This commit is contained in:
Coleen Phillimore 2008-12-09 09:55:39 -05:00
parent c07de94ae3
commit 36f5b8dd54

View File

@ -332,6 +332,8 @@ void VMError::report(outputStream* st) {
// 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(),