提交 c4f6e748 编写于 作者: C coleenp

7053130: hs_err file does not record specified CLASSPATH

Summary: Added code to write the value of the java.class.path property to the hs_err file.
Reviewed-by: kmo, dholmes, kvn
Contributed-by: harold.seigel@oracle.com
上级 05390300
...@@ -791,6 +791,10 @@ void Arguments::print_on(outputStream* st) { ...@@ -791,6 +791,10 @@ void Arguments::print_on(outputStream* st) {
st->print("jvm_args: "); print_jvm_args_on(st); st->print("jvm_args: "); print_jvm_args_on(st);
} }
st->print_cr("java_command: %s", java_command() ? java_command() : "<unknown>"); st->print_cr("java_command: %s", java_command() ? java_command() : "<unknown>");
if (_java_class_path != NULL) {
char* path = _java_class_path->value();
st->print_cr("java_class_path (initial): %s", strlen(path) == 0 ? "<not set>" : path );
}
st->print_cr("Launcher Type: %s", _sun_java_launcher); st->print_cr("Launcher Type: %s", _sun_java_launcher);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册