RFR: 8365807: (fs) Two-arg UnixFileAttributes.getIfExists should not use exception for control flow [v2]

Brian Burkhalter bpb at openjdk.org
Sat Aug 23 01:28:02 UTC 2025


On Fri, 22 Aug 2025 16:45:26 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> This lead to the suggestion to choose a naming convention to avoid mistakes.

As there are only a couple of methods that return `errno`, then maybe something like `fstatat0NoThrow` or `fstatat0errno` and leave the ones that throw as they are?

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

PR Comment: https://git.openjdk.org/jdk/pull/26889#issuecomment-3216070963


More information about the nio-dev mailing list