review request (URGENT): 7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError

John Rose john.r.rose at oracle.com
Wed Jun 1 11:44:29 PDT 2011


Low-level fix to ensure wrapping of early linkage errors in bootstrap method errors, for invokedynamic corner cases.

7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError
JVM Summary: Delegate invokedynamic linkage errors to MethodHandleNatives.raiseException.
JDK Summary: Wrap invokedynamic linkage errors in BootstrapMethodError, as needed.

http://cr.openjdk.java.net/~jrose/7049415/webrev.jvm.00
http://cr.openjdk.java.net/~jrose/7049415/webrev.jdk.00

These changes can integrate in any order.  To fix the bug, both must be integrated.

Test case attached.  All paths have been exercised.

-- John

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test7049415.java
Type: application/octet-stream
Size: 4469 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20110601/da2c9254/attachment.obj 


More information about the hotspot-compiler-dev mailing list