8064375: Change certain errors to warnings in CDS output

Change CDS non-fatal preloading errors to warnings.

Reviewed-by: minqi, mseledtsov, coleenp
This commit is contained in:
Jiangli Zhou 2014-11-10 19:28:51 -05:00
parent 7a414a2c7d
commit 4f4c4bbd5c
3 changed files with 3 additions and 3 deletions

View file

@ -1120,7 +1120,7 @@ instanceKlassHandle ClassLoader::load_classfile(Symbol* h_name, TRAPS) {
h = context.record_result(classpath_index, e, result, THREAD);
} else {
if (DumpSharedSpaces) {
tty->print_cr("Preload Error: Cannot find %s", class_name);
tty->print_cr("Preload Warning: Cannot find %s", class_name);
}
}