RFR: 8365807: (fs) Two-arg UnixFileAttributes.getIfExists should not use exception for control flow [v2]
Brian Burkhalter
bpb at openjdk.org
Mon Aug 25 19:44:20 UTC 2025
On Sun, 24 Aug 2025 06:53:41 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> The variant of stat that doesn't thrown is currently named stat2, I assumed we would have fstatat2 too.
The commit 91bb2e4 now has `fstatat2`. Note however that `stat2` is now no longer used as its only previous use had been in the 1-arg `getIfExists` which now just calls the 2-arg version.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26889#issuecomment-3221519230
More information about the nio-dev
mailing list