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