--- old/src/share/vm/runtime/sharedRuntime.hpp Thu Jun 16 10:41:29 2011 +++ new/src/share/vm/runtime/sharedRuntime.hpp Thu Jun 16 10:41:29 2011 @@ -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);