[jdk21u-dev] RFR: 8326897: (fs) The utility TestUtil.supportsLinks is wrongly used to check for hard link support
Richard Reingruber
rrich at openjdk.org
Thu Feb 5 21:52:17 UTC 2026
On Tue, 3 Feb 2026 13:06:16 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:
> I backport this for parity with 21.0.11-oracle.
>
> resolved two files:
>
> test/jdk/java/nio/file/Path/ToRealPath.java
> Omitted two test cases that are not in 21.
> test/jdk/java/nio/file/attribute/PosixFileAttributeView/Basic.java
> Trivial resolve.
>
> Both depend on https://bugs.openjdk.org/browse/JDK-8306882: (fs) Path.toRealPath(LinkOption.NOFOLLOW_LINKS) fails when "../../" follows a link
Looks good.
Cheers, Richard.
-------------
Marked as reviewed by rrich (Reviewer).
PR Review: https://git.openjdk.org/jdk21u-dev/pull/2594#pullrequestreview-3759642289
More information about the jdk-updates-dev
mailing list