RFR: 8364277: (fs) BasicFileAttributes.isDirectory and isOther return true for NTFS directory junctions when links not followed [v6]
Brian Burkhalter
bpb at openjdk.org
Thu Aug 7 00:45:20 UTC 2025
> Change `BasicFileAttributes` for Windows such that for a directory junction `isOther` returns `true` but all other `is*` methods return `false`. Without this change, `isDirectory` also returns `true`.
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
8364277: Revert change to BuildTestLib.gmk; move @SuppressWarnings to correct place in FileUtils.java
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26631/files
- new: https://git.openjdk.org/jdk/pull/26631/files/60f5315b..a30e0ce8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26631&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26631&range=04-05
Stats: 3 lines in 2 files changed: 1 ins; 2 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/26631.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26631/head:pull/26631
PR: https://git.openjdk.org/jdk/pull/26631
More information about the nio-dev
mailing list