RFR: 8339574: Behavior of File.is{Directory,File,Hidden} is not documented with respect to symlinks [v5]
Daniel Jeliński
djelinski at openjdk.org
Tue Sep 10 08:32:08 UTC 2024
On Mon, 9 Sep 2024 19:22:19 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Make explicit how the `java.io.File` methods `isDirectory`, `isFile`, and `isHidden` behave when the `File` represents a symbolic link.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8339574: Replace "transparent" with more explicit verbiage
LGTM.
I think the behavior of `File.exists` with regard to links should also be documented, but feel free to leave it out of this PR.
-------------
Marked as reviewed by djelinski (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20878#pullrequestreview-2291745058
More information about the core-libs-dev
mailing list