< prev index next >

src/hotspot/share/interpreter/linkResolver.hpp

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

@@ -345,7 +345,15 @@
 
   // runtime resolving from attached method
   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
< prev index next >