RFR: 8066869: Add Closeable::closeUnchecked that is the equivalent of close but throws UncheckedIOException [v2]

Brian Burkhalter bpb at openjdk.org
Fri Jul 7 15:56:13 UTC 2023


> Add a default method `java.io.Closeable::closeUnchecked` which is equivalent to `Closeable::close` except that it instead throws `java.io.UncheckedIOException`.

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

  8066869: linkplain -> link

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14789/files
  - new: https://git.openjdk.org/jdk/pull/14789/files/8db998bd..c89945b8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14789&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14789&range=00-01

  Stats: 5 lines in 1 file changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/14789.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14789/head:pull/14789

PR: https://git.openjdk.org/jdk/pull/14789


More information about the core-libs-dev mailing list