RFR: 8277159: Fix java/nio/file/FileStore/Basic.java test by ignoring /run/user/* mount points

Brian Burkhalter bpb at openjdk.java.net
Tue Nov 16 21:58:36 UTC 2021


On Mon, 15 Nov 2021 22:20:44 GMT, Alex Kasko <akasko at openjdk.org> wrote:

> …/user/* mount points
> 
> The fix to the test is the same as in #5136 . The possible problem with this test was identified in [this comment](https://github.com/openjdk/jdk/pull/5136#issuecomment-900402107), however FileSystemException is thrown instead of NoSuchFileException in this case, thus the special check for "/run/user" is added.

test/jdk/java/nio/file/FileStore/Basic.java line 25:

> 23: 
> 24: /* @test
> 25:  * @bug 4313887 6873621 6979526 7006126 7020517 8264400 8277159

I don't think that the bug ID needs to be added here as this is a change to the test itself, only.

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

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


More information about the nio-dev mailing list