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

Alan Bateman alanb at openjdk.org
Thu Aug 7 16:13:57 UTC 2025


On Thu, 7 Aug 2025 16:10:37 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> 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

Marked as reviewed by alanb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/26631#pullrequestreview-3097842635


More information about the nio-dev mailing list