RFR: JDK-8232092: (fs) Files::isWritable returns false on a writeable root directory (win)
Nikola Grcevski
Nikola.Grcevski at microsoft.com
Tue Jul 14 15:28:57 UTC 2020
Thanks for looking into this Alan. I'm more than happy to help in any way possible to implement proper support for virtual drives on Windows. I was thinking about running the jtreg class library tests on a virtual drive and see how many failures we get.
Based on the JBS update from Christian, it seems the other virtual drive failure was a third-party software issue.
Cheers,
Nikola
-----Original Message-----
From: Alan Bateman <Alan.Bateman at oracle.com>
Sent: July 14, 2020 11:03 AM
To: Nikola Grcevski <Nikola.Grcevski at microsoft.com>; nio-dev <nio-dev at openjdk.java.net>
Subject: Re: RFR: JDK-8232092: (fs) Files::isWritable returns false on a writeable root directory (win)
On 06/07/2020 22:59, Nikola Grcevski wrote:
> :
>
> The first issue seems related to substituted directories with volumes, or virtual drives on Windows. The problem happens if the Windows GetVolumePathNameW API is called with a virtual drive letter in the path, causing the API to return ERROR_INVALID_PARAMETER or error code 87.
Thanks for the mail on this. I think the new information here is that Christian may be using "subst" or some other mechanism. He did mention "virtual" but it wasn't clear what type of volume that was. This may be enough to duplicate the problem. It is likely this is part of a large piece of work to support subst, something the file system implementation has never fully supported.
-Alan
More information about the nio-dev
mailing list