Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
3743:33e2b8f1d466 | 3744:60b8287df30e |
---|---|
437 } | 437 } |
438 static void set_raise_exception_method(methodOop rem) { | 438 static void set_raise_exception_method(methodOop rem) { |
439 assert(_raise_exception_method == NULL, ""); | 439 assert(_raise_exception_method == NULL, ""); |
440 _raise_exception_method = JNIHandles::make_global(Handle(rem)); | 440 _raise_exception_method = JNIHandles::make_global(Handle(rem)); |
441 } | 441 } |
442 static methodOop resolve_raise_exception_method(TRAPS); | |
443 // call raise_exception_method from C code: | |
444 static void raise_exception(int code, oop actual, oop required, TRAPS); | |
442 | 445 |
443 static jint adapter_conversion(int conv_op, BasicType src, BasicType dest, | 446 static jint adapter_conversion(int conv_op, BasicType src, BasicType dest, |
444 int stack_move = 0, int vminfo = 0) { | 447 int stack_move = 0, int vminfo = 0) { |
445 assert(conv_op_valid(conv_op), "oob"); | 448 assert(conv_op_valid(conv_op), "oob"); |
446 jint conv = ((conv_op << CONV_OP_SHIFT) | 449 jint conv = ((conv_op << CONV_OP_SHIFT) |