< prev index next >

src/hotspot/share/interpreter/linkResolver.hpp

Print this page
rev 49017 : 8197405: Improve messages of AbstractMethodErrors and IncompatibleClassChangeErrors.
Reviewed-by: coleenp, dholmes
rev 49018 : [mq]: EditsDavidII.patch

*** 347,359 **** static void resolve_invoke(CallInfo& result, Handle& recv, const methodHandle& attached_method, Bytecodes::Code byte, TRAPS); public: ! // No need to report selected method differing from resolved method. ! static void throw_abstract_method_error(const methodHandle& method, Klass *recv_klass, TRAPS); // Selected method is abstract. ! static void throw_abstract_method_error_abstract(const methodHandle& resolved_method, const methodHandle& selected_method, Klass *recv_klass, TRAPS); }; #endif // SHARE_VM_INTERPRETER_LINKRESOLVER_HPP --- 347,365 ---- static void resolve_invoke(CallInfo& result, Handle& recv, const methodHandle& attached_method, Bytecodes::Code byte, TRAPS); public: ! // Only resolved method known. ! static void throw_abstract_method_error(const methodHandle& resolved_method, TRAPS) { ! throw_abstract_method_error(resolved_method, NULL, NULL, CHECK); ! } ! // Resolved method and receiver klass know. ! static void throw_abstract_method_error(const methodHandle& resolved_method, Klass *recv_klass, TRAPS) { ! throw_abstract_method_error(resolved_method, NULL, recv_klass, CHECK); ! } // Selected method is abstract. ! static void throw_abstract_method_error(const methodHandle& resolved_method, const methodHandle& selected_method, Klass *recv_klass, TRAPS); }; #endif // SHARE_VM_INTERPRETER_LINKRESOLVER_HPP
< prev index next >