RFR: 8264400: (fs) WindowsFileStore equality depends on how the FileStore was constructed
Alan Bateman
Alan.Bateman at oracle.com
Mon Apr 5 07:14:39 UTC 2021
On 02/04/2021 17:53, Brian Burkhalter wrote:
> :
> 4. `\\BPB\Public` - Local share created for `C:\Users\Public`
>
> `Root: \\BPB\Public\
> volName: System, fsName: NTFS, volSN: 1620920694, volType: 4`
>
> 5. `\\192.168.0.111\Shared` - "Remote" share of macOS host `/Users/Shared`
>
> `Root: \\192.168.0.111\Shared\
> volName: Macintosh HD - Data, fsName: NTFS, volSN: 0, volType: 4`
>
It would be useful for the discussion if you could repeat with UNC
server name and share name in other cases, e.g. \\bpb\public\.
One other thing is that if we do change the equals (and I think we need
to for at least DRIVE_FIXED case) then it will require the hashCode
method to be changed too.
-Alan
More information about the nio-dev
mailing list