RFR: 8280881: (fs) UnixNativeDispatcher.close0 may throw UnixException [v3]

Brian Burkhalter bpb at openjdk.java.net
Thu Feb 24 02:33:46 UTC 2022


> 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.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8280881: Add close variants to UnixNativeDispatcher; clean up close use sites

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7467/files
  - new: https://git.openjdk.java.net/jdk/pull/7467/files/0e7b72fb..546ec82f

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7467&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7467&range=01-02

  Stats: 163 lines in 9 files changed: 44 ins; 85 del; 34 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7467.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7467/head:pull/7467

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


More information about the nio-dev mailing list