8143963: improve ClassLoader::trace_class_path to accept an additional outputStream* arg

For fixing a truncation problem on the output from -XX:+TraceClassPaths

Reviewed-by: coleenp, jiangli, cjplummer, minqi
This commit is contained in:
Calvin Cheung 2015-11-24 16:58:45 -08:00
parent 8549d3bb88
commit 6887844c72
5 changed files with 12 additions and 12 deletions

View file

@ -3425,7 +3425,7 @@ void Arguments::fix_appclasspath() {
}
if (!PrintSharedArchiveAndExit) {
ClassLoader::trace_class_path("[classpath: ", _java_class_path->value());
ClassLoader::trace_class_path(tty, "[classpath: ", _java_class_path->value());
}
}