8225461: (fs) Investigate filtering duplicates out of Iterable returned by java.nio.file.FileSystem::getFileStores
Brian Burkhalter
brian.burkhalter at oracle.com
Tue Jun 11 17:25:24 UTC 2019
> On Jun 11, 2019, at 3:46 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>
>> I don’t know whether the specification of FileSystem::getFileStores() should be updated to indicate that no duplicate stores are returned, which would necessitate a CSR.
>>
> This issue is going a bit of time to review as it changes the meaning of equals/hashCode and has several other implications that will take time to work through. I will try to get to it soon, but maybe not this week.
Understood. Note that the new equals() and hashCode() methods in UnixMountEntry are identical to the respective methods of UnixFileStore.
Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190611/ea2fefc9/attachment-0001.html>
More information about the nio-dev
mailing list