RFR: 8286160: (fs) Files.exists returns unexpected results with C:\pagefile.sys because it's not readable

Brian Burkhalter bpb at openjdk.java.net
Tue Jun 7 15:58:14 UTC 2022


On Tue, 7 Jun 2022 15:51:35 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> That was actually my first draft version. What happened to `checkReadAccess()` here?
>
> checkReadAccess comes later, when !w & !x.

I misread that. I'll give it a try.

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

PR: https://git.openjdk.java.net/jdk/pull/9045


More information about the nio-dev mailing list