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

Brian Burkhalter brian.burkhalter at oracle.com
Sat May 2 01:05:36 UTC 2015


I created a naive provisional patch here:

http://cr.openjdk.java.net/~bpb/8066943/webrev.00/

A JPRT run without the included test shows no regressions on non-Mac platforms and the Mac was already tested manually.

It does not look from the specification

http://download.java.net/jdk9/docs/api/java/nio/file/Path.html#relativize-java.nio.file.Path-

that any javadoc update would be needed.

Please comment at your convenience.

Thanks,

Brian

On May 1, 2015, at 1:37 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:

> So the issue description is accurate and an IAE should be thrown for that case, but the behavior in Max’s comment is no longer reproducible so a new, separate issue does not need to be filed for it.

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


More information about the nio-dev mailing list