RFR: 8322166: Files.isReadable/isWritable/isExecutable expensive when file does not exist [v4]

Brian Burkhalter bpb at openjdk.org
Tue Dec 19 16:04:47 UTC 2023


On Tue, 19 Dec 2023 07:30:12 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> I mean we can just use `access(file, R_OK) == 0`
>
> One of the iterations did change the "exists" methods, the three isXXXX methods were missed. It's not a correctness issue of course, just a cleanup.

Thanks. I intentionally did not integrate it yet so I will fix those first.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17133#discussion_r1431620003


More information about the nio-dev mailing list