review request (L): 7013730: JSR 292 reflective operations should report errors with standard exception types
John Rose
john.r.rose at oracle.com
Fri Jan 21 18:04:22 PST 2011
http://cr.openjdk.java.net/~jrose/7013730/webrev.00
7013730: JSR 292 reflective operations should report errors with standard exception types
Summary: remove NoAccessException, replace it by ReflectiveOperationException subtypes
There is a logic change in MemberName.java, to split NoAccessException out in
into three cases: IllegalAccessException, NoSuchMethodException, NoSuchFieldException.
This is documented in the javadoc for the class MethodHandles.Lookup.
There are also relevant improvements to error message logic and unit tests.
-- John
More information about the hotspot-compiler-dev
mailing list