The relativize method (both Unix and Windows implementations) don't handle treat "." correctly. More details here:
http://mail.openjdk.java.net/pipermail/nio-dev/2010-February/000907.html
http://mail.openjdk.java.net/pipermail/nio-dev/2010-February/000907.html
- duplicates
-
JDK-7122726 Path.relativize returns incorrect result if path contains ".."
-
- Closed
-