7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError

Delegate invokedynamic linkage errors to MethodHandleNatives.raiseException.

Reviewed-by: never
This commit is contained in:
John R Rose 2011-06-01 23:25:20 -07:00
parent a8556d6c01
commit 0ed03852e5
5 changed files with 66 additions and 13 deletions

View file

@ -439,6 +439,9 @@ class MethodHandles: AllStatic {
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) {