< prev index next >

src/hotspot/share/interpreter/interpreterRuntime.hpp

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

@@ -116,11 +116,19 @@
   // Quicken instance-of and check-cast bytecodes
   static void    quicken_io_cc(JavaThread* thread);
 
   // Exceptions thrown by the interpreter
   static void    throw_AbstractMethodError(JavaThread* thread);
+  static void    throw_AbstractMethodErrorWithMethod(JavaThread* thread, Method* oop);
+  static void    throw_AbstractMethodErrorVerbose(JavaThread* thread,
+                                                  Klass* recvKlass,
+                                                  Method* missingMethod);
+
   static void    throw_IncompatibleClassChangeError(JavaThread* thread);
+  static void    throw_IncompatibleClassChangeErrorVerbose(JavaThread* thread,
+                                                           Klass* resc,
+                                                           Klass* interfaceKlass);
   static void    throw_StackOverflowError(JavaThread* thread);
   static void    throw_delayed_StackOverflowError(JavaThread* thread);
   static void    throw_ArrayIndexOutOfBoundsException(JavaThread* thread, char* name, jint index);
   static void    throw_ClassCastException(JavaThread* thread, oopDesc* obj);
   static void    create_exception(JavaThread* thread, char* name, char* message);
< prev index next >