< prev index next >

src/hotspot/cpu/sparc/vtableStubs_sparc.cpp

Print this page
rev 49172 : 8197405: Improve messages of AbstractMethodErrors and IncompatibleClassChangeErrors.
Reviewed-by: coleenp, dholmes, mdoerr, njian

*** 210,220 **** // G3_scratch: entry point __ JMP(G3_scratch, 0); __ delayed()->nop(); __ bind(L_no_such_interface); ! AddressLiteral icce(StubRoutines::throw_IncompatibleClassChangeError_entry()); __ jump_to(icce, G3_scratch); __ delayed()->restore(); masm->flush(); --- 210,225 ---- // G3_scratch: entry point __ JMP(G3_scratch, 0); __ delayed()->nop(); __ 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. ! AddressLiteral icce(SharedRuntime::get_handle_wrong_method_stub()); __ jump_to(icce, G3_scratch); __ delayed()->restore(); masm->flush();
< prev index next >