RFR (S) 8057936: java.net.URLClassLoader.findClass uses exceptions in control flow

Ivan Gerasimov ivan.gerasimov at oracle.com
Wed Sep 10 10:55:35 UTC 2014


If a lambda were used instead of an anonymous class, it would save us 
one line of code :-)

Sincerely yours,
Ivan

On 10.09.2014 14: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/
> /Claes
>
>




More information about the core-libs-dev mailing list