review request (S): 7042656: JSR292: invokeExact/Generic doesn't throw UnsupportedOperationException if invoked via Method.invoke (original) (raw)
John Rose john.r.rose at oracle.com
Tue May 17 04:45:21 PDT 2011
- Previous message: review request (M): 7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one
- Next message: review request (S): 7042656: JSR292: invokeExact/Generic doesn't throw UnsupportedOperationException if invoked via Method.invoke
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This is a point fix to make the native methods MethodHandle.invoke and .invokeExact throw UnsupportedOperationException.
Currently they throw a linkage exception, because they are not actually defined by C code. (They are defined by Java, but when called fail to link. This UOE is the documented exception type.)
Because this is an exception error, it is bundled with bug 7044892. This is a separate review because it is a JVM code change.
-- John
- Previous message: review request (M): 7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one
- Next message: review request (S): 7042656: JSR292: invokeExact/Generic doesn't throw UnsupportedOperationException if invoked via Method.invoke
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the hotspot-compiler-dev mailing list