RFR: 8280881: (fs) UnixNativeDispatcher.close0 may throw UnixException
Lance Andersen
lancea at openjdk.java.net
Mon Feb 14 22:03:04 UTC 2022
On Mon, 14 Feb 2022 21:21:14 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Re-specify `sun.nio.fs.UnixNativeDispatcher.close0()` to throw `sun.nio.fs.UnixException` and modify callers either to ignore it or to rethrow it as an `IOException`, as appropriate.
The changes look reasonable to throw an IOException vs the specific UnixException
-------------
PR: https://git.openjdk.java.net/jdk/pull/7467
More information about the nio-dev
mailing list