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

SendaoYan syan at openjdk.org
Tue Nov 18 03:20:23 UTC 2025


> 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - Merge branch 'openjdk:master' into jbs8277159
 - Add "@libiray /test/lib" and "import jdk.test.lib.Platform;"
 - Backport b6876649a82bed508d817ccbde1600d00937e4b2

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/705/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/705/files/2f4d2fa0..c9cc3c0b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=705&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=705&range=01-02

  Stats: 169722 lines in 352 files changed: 163519 ins; 5744 del; 459 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/705.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/705/head:pull/705

PR: https://git.openjdk.org/jdk8u-dev/pull/705


More information about the jdk8u-dev mailing list