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

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


On Wed, 28 Feb 2024 03:12:17 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> 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.

Test method name changed in 255c485. Compiles and passes on all platforms.

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

PR Comment: https://git.openjdk.org/jdk/pull/18038#issuecomment-1969458421


More information about the nio-dev mailing list