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

Aleksey Shipilev aleksey.shipilev at oracle.com
Wed Sep 10 12:35:01 UTC 2014


On 09/10/2014 03:53 PM, Claes Redestad wrote:
> Yes, this saves creating the type and wrapper object altogether,
> while testing suggest it's only the getResource() == null cases we
> commonly see hurting startup in our tests. I'd say let's go with your
> patch.

> New webrev: http://cr.openjdk.java.net/~redestad/8057936/webrev.4/

+1. This is much cleaner.

Thanks,
-Aleksey.





More information about the core-libs-dev mailing list