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

Goetz Lindenmaier goetz at openjdk.org
Wed Feb 4 14:30:56 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

GHA failure: 
java/util/concurrent/ExecutorService/CloseTest.java failed.
This is a known shaky test, unrelated. 
Maybe we should problem list this test,

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/2594#issuecomment-3847789233


More information about the jdk-updates-dev mailing list