diff src/share/vm/prims/methodHandles.hpp @ 3744:60b8287df30e

7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError Summary: Delegate invokedynamic linkage errors to MethodHandleNatives.raiseException. Reviewed-by: never
author jrose
date Wed, 01 Jun 2011 23:25:20 -0700
parents 33ae33516634
children f7d55ea6ee56
line wrap: on
line diff
--- a/src/share/vm/prims/methodHandles.hpp	Tue May 31 10:05:36 2011 -0700
+++ b/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) {