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

Brian Burkhalter bpb at openjdk.java.net
Thu Apr 8 16:24:15 UTC 2021


On Thu, 8 Apr 2021 16:18:19 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
>
> src/java.base/windows/classes/sun/nio/fs/WindowsFileStore.java line 234:
> 
>> 232:             return supportsFileAttributeView(FileOwnerAttributeView.class);
>> 233:         if (name.equals("user"))
>> 234:             return supportsFileAttributeView(UserDefinedFileAttributeView.class); return false;
> 
> Can you revert this change, it's not part of the fix and it makes this method harder to maintain.

I did revert it before but I guess it crept back in ... sigh.

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

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


More information about the nio-dev mailing list