RFR: 8157716: jdk.internal.loader.ClassLoaders.addURLToUCP() should return converted real path URL
Alan Bateman
Alan.Bateman at oracle.com
Wed May 25 18:55:33 UTC 2016
On 25/05/2016 19:50, Martin Buchholz wrote:
> Ohh, I missed that calling toRealPath was existing behavior, not
> changed by webrev.00
> I agree changing that sort of thing is risky.
I think so too as the existing behavior go way back (I think JDK 1.2).
>
> Will toFileURL really be called by the VM? It's not now. I'm
> surprised the VM would want an actual URL instead of a canonicalized
> native file name.
It's related to protection domain checking so that is why it's a URL.
-Alan
More information about the core-libs-dev
mailing list