--- a/hotspot/src/share/vm/runtime/sharedRuntime.hpp Wed Jun 15 10:20:03 2011 -0700
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.hpp Thu Jun 16 13:46:55 2011 -0700
@@ -185,6 +185,7 @@
static void throw_NullPointerException(JavaThread* thread);
static void throw_NullPointerException_at_call(JavaThread* thread);
static void throw_StackOverflowError(JavaThread* thread);
+ static void throw_WrongMethodTypeException(JavaThread* thread, oopDesc* required, oopDesc* actual);
static address continuation_for_implicit_exception(JavaThread* thread,
address faulting_pc,
ImplicitExceptionKind exception_kind);