# HG changeset patch # User coleenp # Date 1350580187 14400 # Node ID 6e2e697e310fd4d65a35b4c837c28da24bfa8029 # Parent 103b29e7797435616fe672f63d267ca08e93ddf7 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 diff -r 103b29e77974 -r 6e2e697e310f hotspot/src/share/vm/runtime/arguments.cpp --- a/hotspot/src/share/vm/runtime/arguments.cpp Thu Oct 18 13:08:13 2012 -0400 +++ b/hotspot/src/share/vm/runtime/arguments.cpp Thu Oct 18 13:09:47 2012 -0400 @@ -791,6 +791,10 @@ st->print("jvm_args: "); print_jvm_args_on(st); } st->print_cr("java_command: %s", java_command() ? java_command() : ""); + if (_java_class_path != NULL) { + char* path = _java_class_path->value(); + st->print_cr("java_class_path (initial): %s", strlen(path) == 0 ? "" : path ); + } st->print_cr("Launcher Type: %s", _sun_java_launcher); }