RFR: 8264400: (fs) WindowsFileStore equality depends on how the FileStore was constructed

Alan Bateman alanb at openjdk.java.net
Thu Apr 1 18:06:17 UTC 2021


On Thu, 1 Apr 2021 16:42:38 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Based on testing in a Win 10 VM, the volume type is in fact DRIVE_REMOTE. The volume serial number however is zero. From what I can test via testing and reading the server and share names don't care about case.
>
> If we are unsure, for UNC, perhaps the server and share name comparisons can remain case sensitive but the file path component comparison be case insensitive?

Maybe this is something that the Microsoft folks can help us with, it might be that it depends on the transport.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3279


More information about the nio-dev mailing list