RFR: 8264400: (fs) WindowsFileStore equality depends on how the FileStore was constructed [v3]
Brian Burkhalter
bpb at openjdk.java.net
Thu Apr 8 16:37:40 UTC 2021
On Thu, 8 Apr 2021 16:20:42 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8264400: Remove hasHashCode and race on hashCode == 0
>
> test/jdk/java/nio/file/FileStore/Basic.java line 89:
>
>> 87: FileSystem fs = FileSystems.getDefault();
>> 88: FileStore upper = Files.getFileStore(fs.getPath("C:\\"));
>> 89: FileStore lower = Files.getFileStore(fs.getPath("c:\\"));
>
> Path.of("c:\") can be used if you want.
Will simplify to that in final commit.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3279
More information about the nio-dev
mailing list