< prev index next >

src/hotspot/share/memory/metaspaceShared.cpp

Print this page

        

*** 1812,1822 **** Klass* klass = parser.load_current_class(THREAD); if (HAS_PENDING_EXCEPTION) { if (klass == NULL && (PENDING_EXCEPTION->klass()->name() == vmSymbols::java_lang_ClassNotFoundException())) { // print a warning only when the pending exception is class not found ! tty->print_cr("Preload Warning: Cannot find %s", parser.current_class_name()); } CLEAR_PENDING_EXCEPTION; } if (klass != NULL) { if (log_is_enabled(Trace, cds)) { --- 1812,1822 ---- Klass* klass = parser.load_current_class(THREAD); if (HAS_PENDING_EXCEPTION) { if (klass == NULL && (PENDING_EXCEPTION->klass()->name() == vmSymbols::java_lang_ClassNotFoundException())) { // print a warning only when the pending exception is class not found ! log_warning(cds)("Preload Warning: Cannot find %s", parser.current_class_name()); } CLEAR_PENDING_EXCEPTION; } if (klass != NULL) { if (log_is_enabled(Trace, cds)) {
*** 1858,1868 **** BytecodeVerificationLocal = BytecodeVerificationRemote; } ik->link_class(THREAD); if (HAS_PENDING_EXCEPTION) { ResourceMark rm; ! tty->print_cr("Preload Warning: Verification failed for %s", ik->external_name()); CLEAR_PENDING_EXCEPTION; ik->set_in_error_state(); _has_error_classes = true; } --- 1858,1868 ---- BytecodeVerificationLocal = BytecodeVerificationRemote; } ik->link_class(THREAD); if (HAS_PENDING_EXCEPTION) { ResourceMark rm; ! log_warning(cds)("Preload Warning: Verification failed for %s", ik->external_name()); CLEAR_PENDING_EXCEPTION; ik->set_in_error_state(); _has_error_classes = true; }
< prev index next >