Path of "." and ""
Wang Weijun
weijun.wang at oracle.com
Tue Dec 9 08:31:28 UTC 2014
Finally, I found a bug, not a feature. :-)
https://bugs.openjdk.java.net/browse/JDK-8066943 filed.
--Max
> On Dec 9, 2014, at 16:25, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>
> On 09/12/2014 00:07, Wang Weijun wrote:
>> :
>>
>> Another thing I see is that "..".relativize("x") is "../x", while actually it should be "pwd/x". Of course we don't know what "pwd" is, but why not throw an exception?
>>
> It should throw IAE for this case, can you create a bug for this?
>
> -Alan
More information about the nio-dev
mailing list