RFR (S) 8057936: java.net.URLClassLoader.findClass uses exceptions in control flow
Alan Bateman
Alan.Bateman at oracle.com
Wed Sep 10 10:49:49 UTC 2014
On 10/09/2014 11:11, Claes Redestad wrote:
> Hi,
>
> please review this simple patch to avoid raising
> PrivilegedActionExceptions
> when failing to find a class in URLClassLoader.
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8057936
> webrev: http://cr.openjdk.java.net/~redestad/8057936/webrev.2/
I think this looks okay. I assume FoundClassResult doesn't strictly need
to encapsulate the class name.
-Alan.
More information about the core-libs-dev
mailing list