--- a/hotspot/src/share/vm/prims/methodHandles.hpp Tue May 31 10:05:36 2011 -0700
+++ b/hotspot/src/share/vm/prims/methodHandles.hpp Wed Jun 01 23:25:20 2011 -0700
@@ -439,6 +439,9 @@
assert(_raise_exception_method == NULL, "");
_raise_exception_method = JNIHandles::make_global(Handle(rem));
}
+ static methodOop resolve_raise_exception_method(TRAPS);
+ // call raise_exception_method from C code:
+ static void raise_exception(int code, oop actual, oop required, TRAPS);
static jint adapter_conversion(int conv_op, BasicType src, BasicType dest,
int stack_move = 0, int vminfo = 0) {