Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 6879:8ebcedb7604d
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
author | coleenp |
---|---|
date | Thu, 18 Oct 2012 13:09:47 -0400 |
parents | 85916677fc22 |
children | acabb5c282f5 5ec0c42da025 |
comparison
equal
deleted
inserted
replaced
6878:85916677fc22 | 6879:8ebcedb7604d |
---|---|
789 } | 789 } |
790 if (num_jvm_args() > 0) { | 790 if (num_jvm_args() > 0) { |
791 st->print("jvm_args: "); print_jvm_args_on(st); | 791 st->print("jvm_args: "); print_jvm_args_on(st); |
792 } | 792 } |
793 st->print_cr("java_command: %s", java_command() ? java_command() : "<unknown>"); | 793 st->print_cr("java_command: %s", java_command() ? java_command() : "<unknown>"); |
794 if (_java_class_path != NULL) { | |
795 char* path = _java_class_path->value(); | |
796 st->print_cr("java_class_path (initial): %s", strlen(path) == 0 ? "<not set>" : path ); | |
797 } | |
794 st->print_cr("Launcher Type: %s", _sun_java_launcher); | 798 st->print_cr("Launcher Type: %s", _sun_java_launcher); |
795 } | 799 } |
796 | 800 |
797 void Arguments::print_jvm_flags_on(outputStream* st) { | 801 void Arguments::print_jvm_flags_on(outputStream* st) { |
798 if (_num_jvm_flags > 0) { | 802 if (_num_jvm_flags > 0) { |