RFR: 8339574: Behavior of File.is{Directory,File,Hidden} is not documented with respect to symlinks [v4]

Brian Burkhalter bpb at openjdk.org
Mon Sep 9 19:22:19 UTC 2024


On Fri, 6 Sep 2024 17:47:35 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: Revised class level doc of File

> Can we copy this part of package-summary too?
> 
> > ...and operations on symbolic links are automatically redirected to the _target_
> 
> without it, it's not clear what `transparent` means.

Please see 584742e.

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

PR Comment: https://git.openjdk.org/jdk/pull/20878#issuecomment-2338898271


More information about the core-libs-dev mailing list