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

Brian Burkhalter bpb at openjdk.org
Wed Aug 6 01:11:48 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: Clean up per reviewer comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26631/files
  - new: https://git.openjdk.org/jdk/pull/26631/files/cf9eab46..ebd6f415

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26631&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26631&range=01-02

  Stats: 34 lines in 3 files changed: 9 ins; 12 del; 13 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