https://bugs.openjdk.java.net/browse/JDK-8140449 filed.
--Max
> On Oct 24, 2015, at 10:29 PM, Wang Weijun <weijun.wang at oracle.com> wrote:
>
> However, if it's only "x".relative(""), it becomes "..\\" + "\\" - "\\", so there is still one trailing slash.