< prev index next >
src/hotspot/cpu/x86/vtableStubs_x86_32.cpp
Print this page
rev 49103 : 8197405: Improve messages of AbstractMethodErrors and IncompatibleClassChangeErrors.
Reviewed-by: coleenp, dholmes, mdoerr, njian
*** 210,220 ****
address ame_addr = __ pc();
__ jmp(Address(method, Method::from_compiled_offset()));
__ bind(L_no_such_interface);
! __ jump(RuntimeAddress(StubRoutines::throw_IncompatibleClassChangeError_entry()));
__ flush();
if (PrintMiscellaneous && (WizardMode || Verbose)) {
tty->print_cr("itable #%d at " PTR_FORMAT "[%d] left over: %d",
--- 210,225 ----
address ame_addr = __ pc();
__ jmp(Address(method, Method::from_compiled_offset()));
__ bind(L_no_such_interface);
! // Handle IncompatibleClassChangeError in itable stubs.
! // More detailed error message.
! // We force resolving of the call site by jumping to the "handle
! // wrong method" stub, and so let the interpreter runtime do all the
! // dirty work.
! __ jump(RuntimeAddress( SharedRuntime::get_handle_wrong_method_stub()));
__ flush();
if (PrintMiscellaneous && (WizardMode || Verbose)) {
tty->print_cr("itable #%d at " PTR_FORMAT "[%d] left over: %d",
< prev index next >