[jdk8u-dev] RFR: 8277159: Fix java/nio/file/FileStore/Basic.java test by ignoring /run/user/* mount points [v2]

Paul Hohensee phh at openjdk.org
Mon Oct 20 23:05:14 UTC 2025


On Thu, 16 Oct 2025 03:44:51 GMT, SendaoYan <syan at openjdk.org> wrote:

>> Hi all,
>> 
>> This pull request contains a backport of commit [b6876649](https://github.com/openjdk/jdk/commit/b6876649a82bed508d817ccbde1600d00937e4b2) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
>> 
>> This backport PR try to fix the test bug, test will skip the '/run/user' directory when it throw FileSystemException. This PR add `import jdk.test.lib.Platform;` and `@library /test/lib` make this backport uncleanly, other parts are backport cleanly.
>> 
>> Change has been verified locally, test-fix only, no risk.
>> 
>> Thanks!
>
> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add "@libiray /test/lib" and "import jdk.test.lib.Platform;"

Marked as reviewed by phh (Reviewer).

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

PR Review: https://git.openjdk.org/jdk8u-dev/pull/705#pullrequestreview-3358176407


More information about the jdk8u-dev mailing list