[jdk21u-dev] Integrated: 8326897: (fs) The utility TestUtil.supportsLinks is wrongly used to check for hard link support

Goetz Lindenmaier goetz at openjdk.org
Wed Feb 11 17:06:15 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

This pull request has now been integrated.

Changeset: 2c1ac12e
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/2c1ac12e608c83f8bd9f7aa32e20eedd1e5eedac
Stats:     111 lines in 18 files changed: 22 ins; 1 del; 88 mod

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

Reviewed-by: rrich
Backport-of: bbfda6599a878746cd0bab72952deae95e9f5dea

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

PR: https://git.openjdk.org/jdk21u-dev/pull/2594


More information about the jdk-updates-dev mailing list