git: openjdk/jdk: master: 8364277: (fs) BasicFileAttributes.isDirectory and isOther return true for NTFS directory junctions when links not followed

Brian Burkhalter bpb at openjdk.org
Thu Aug 7 18:26:09 UTC 2025


Changeset: 02e18711
Branch: master
Author:    Brian Burkhalter <bpb at openjdk.org>
Date:      2025-08-07 18:24:22 +0000
URL:       https://git.openjdk.org/jdk/commit/02e187119d0ca94d46e631a174c55db4945f3295

8364277: (fs) BasicFileAttributes.isDirectory and isOther return true for NTFS directory junctions when links not followed

Reviewed-by: alanb

! src/java.base/windows/classes/sun/nio/fs/WindowsConstants.java
! src/java.base/windows/classes/sun/nio/fs/WindowsFileAttributes.java
! src/java.base/windows/classes/sun/nio/fs/WindowsFileSystemProvider.java
! test/jdk/java/nio/file/attribute/BasicFileAttributeView/Basic.java
! test/lib/jdk/test/lib/util/FileUtils.java
! test/lib/jdk/test/lib/util/libFileUtils.c



More information about the jdk-changes mailing list