< prev index next >
src/hotspot/share/classfile/classLoader.cpp
Print this page
*** 1325,1335 ****
NULL, // unsafe_anonymous_host
NULL, // cp_patches
THREAD);
if (HAS_PENDING_EXCEPTION) {
if (DumpSharedSpaces) {
! tty->print_cr("Preload Error: Failed to load %s", class_name);
}
return NULL;
}
if (!add_package(file_name, classpath_index, THREAD)) {
--- 1325,1335 ----
NULL, // unsafe_anonymous_host
NULL, // cp_patches
THREAD);
if (HAS_PENDING_EXCEPTION) {
if (DumpSharedSpaces) {
! log_error(cds)("Preload Error: Failed to load %s", class_name);
}
return NULL;
}
if (!add_package(file_name, classpath_index, THREAD)) {
< prev index next >