review request (L): 7013730: JSR 292 reflective operations should report errors with standard exception types

Christian Thalinger christian.thalinger at oracle.com
Mon Jan 24 01:48:08 PST 2011


On Jan 22, 2011, at 3:04 AM, John Rose wrote:
> 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.

Looks good.  -- Christian


More information about the hotspot-compiler-dev mailing list