提交 b7fbfbbe 编写于 作者: C coleenp

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
上级 7b372ab6
...@@ -332,6 +332,8 @@ void VMError::report(outputStream* st) { ...@@ -332,6 +332,8 @@ void VMError::report(outputStream* st) {
// VM version // VM version
st->print_cr("#"); 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)", st->print_cr("# Java VM: %s (%s %s %s %s)",
Abstract_VM_Version::vm_name(), Abstract_VM_Version::vm_name(),
Abstract_VM_Version::vm_release(), Abstract_VM_Version::vm_release(),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册