RFR: 8326897: (fs) The utility TestUtil.supportsLinks is wrongly used to check for hard link support [v2]

Brian Burkhalter bpb at openjdk.org
Wed Feb 28 17:14:19 UTC 2024


> Add to `test/jdk/java/nio/file/TestUtil.java` the method `TestUtil.supportsHardLinks` and use it to conditionally test `Files.createLink` where appropriate in the `java/nio/file` tests.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8326897: supportsLinks -> supportsSymbolicLinks

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18038/files
  - new: https://git.openjdk.org/jdk/pull/18038/files/dcac6971..255c4850

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18038&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18038&range=00-01

  Stats: 87 lines in 18 files changed: 1 ins; 0 del; 86 mod
  Patch: https://git.openjdk.org/jdk/pull/18038.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18038/head:pull/18038

PR: https://git.openjdk.org/jdk/pull/18038


More information about the nio-dev mailing list