mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
7053130: hs_err file does not record specified CLASSPATH
Added code to write the value of the java.class.path property to the hs_err file. Reviewed-by: kmo, dholmes, kvn
This commit is contained in:
parent
e9755cef6a
commit
240b5c9329
1 changed files with 4 additions and 0 deletions
|
@ -791,6 +791,10 @@ void Arguments::print_on(outputStream* st) {
|
|||
st->print("jvm_args: "); print_jvm_args_on(st);
|
||||
}
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue