hg: jdk8/tl/jdk: 8022701: Accessibility checking: InvocationTargetException is thrown instead of IllegalAccessError

john.r.rose at oracle.com john.r.rose at oracle.com
Tue Oct 1 19:23:45 PDT 2013


Changeset: d90928a89af5
Author:    drchase
Date:      2013-09-27 13:32 -0400
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/d90928a89af5

8022701: Accessibility checking: InvocationTargetException is thrown instead of IllegalAccessError
Summary: Inserted code to convert specific exceptions, case-by-case, plus a test.
Reviewed-by: jrose, twisti

! src/share/classes/java/lang/invoke/MethodHandleNatives.java
+ test/java/lang/invoke/8022701/BogoLoader.java
+ test/java/lang/invoke/8022701/InvokeSeveralWays.java
+ test/java/lang/invoke/8022701/Invoker.java
+ test/java/lang/invoke/8022701/MHIllegalAccess.java
+ test/java/lang/invoke/8022701/MethodSupplier.java



More information about the serviceability-dev mailing list