[fs] Accept Paths.get("/c:/x") on Windows?

Alan Bateman Alan.Bateman at oracle.com
Sun Jan 4 08:56:49 UTC 2015


On 04/01/2015 08:00, Wang Weijun wrote:
> Unfortunately I found inside a JDK test a URL like file:./x is used, and it cannot be converted to a URI. Some sort of old trick is still needed.
>
I'll try to locate the test you are looking at but even with legacy 
java.io.File then any attempt to create a File with a non-hierarchical 
URI will fail with IAE.

-Alan.


More information about the nio-dev mailing list