[9] RFC on 8066943: (fs) Path.relativize() gives incorrect result for ".." on Windows

Brian Burkhalter brian.burkhalter at oracle.com
Fri May 1 20:07:46 UTC 2015


On May 1, 2015, at 12:38 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

>> Which case, there are two: ../x
> This one.

I sort of figured that out in the intervening time.

> For the "".relativize("x") then you are going from the current directory to "x" so the answer should be "x". We seem to have it right everywhere except Windows.

Was working on Windows yesterday with JDK 9 but I shall re-test.

Thanks,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20150501/22500d47/attachment.html>


More information about the nio-dev mailing list