8225461: (fs) Investigate filtering duplicates out of Iterable returned by java.nio.file.FileSystem::getFileStores

Brian Burkhalter brian.burkhalter at oracle.com
Fri Aug 30 23:59:00 UTC 2019


> On Aug 28, 2019, at 2:26 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
> On 23/08/2019 19:33, Brian Burkhalter wrote:
>> Ping … !
> As a short term workaround in the test then this is probably okay although "replicates" looks a bit odd. I would much prefer if we find time to get to root of these issues so that the implementation can handle these cases where there are duplicate or overlay mounts. I realize this will require work to setup these scenarios but we have to get to the underlying issue to avoid the continuous trickle of bug reports with unusual configurations.

This particular patch was really intended to avoid spurious failures due to misconfigured systems in the CI testing environment. As such it might instead be better addressed under the issue [1]. The issue [2] of the current discussion thread could then be left open to address handling these weird cases in the implementation itself.

Thanks,

Brian

[1] https://bugs.openjdk.java.net/browse/JDK-8225471
[2] https://bugs.openjdk.java.net/browse/JDK-8225461
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190830/053c98f8/attachment.html>


More information about the nio-dev mailing list