RFR [9] 8152277: Move URLClassPath.pathToURLs(String) to RegistryImpl
Alan Bateman
Alan.Bateman at oracle.com
Wed Mar 23 20:09:21 UTC 2016
On 23/03/2016 15:46, Chris Hegarty wrote:
>
> Update webrev:
> http://cr.openjdk.java.net/~chegar/8152277/
>
> I'm not sure under what circumstances toRealPath can fail, but
> I tried to be consistent with the old behavior.
This looks okay to me. One thing you could do is replace "// use the
non-real filename" with p = p.toAbsolutePath() so that it is at least
absolute.
-Alan
More information about the core-libs-dev
mailing list