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

Brian Burkhalter bpb at openjdk.org
Thu Aug 7 16:13:57 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: Put IO_REPARSE_TAG_* constants in numerical order

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26631/files
  - new: https://git.openjdk.org/jdk/pull/26631/files/a30e0ce8..584e04e9

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

  Stats: 2 lines in 1 file changed: 1 ins; 1 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 core-libs-dev mailing list