[9] RFR(S): 8178726: Can't load classes from classpath if it is a UNC share
Alan Bateman
Alan.Bateman at oracle.com
Fri Apr 14 13:13:27 UTC 2017
On 14/04/2017 14:02, Chris Hegarty wrote:
>
> I know that Alan has provided some comments on this, but I just
> grabbed your patch and sent it through our internal build and test
> system. I observed a few failures:
Yes, I think URLClassLoader will be broken (Max is right, I forgot that
URLClassPath is essentially the implementation of URLClassLoader).
I think Volker will need to change this so that
ClassLoaders.toFileURL(String) uses toFile().toURI().toURL(). That will
ensure that URLClassPath doesn't get URLs with the server name in the
authority component.
-Alan
More information about the core-libs-dev
mailing list