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

Stuart Marks smarks at openjdk.org
Thu Jul 6 23:52:53 UTC 2023


On Thu, 6 Jul 2023 22:48:12 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Unless it's a matter of further background investigation, I think actually making any such changes would be better handled as a separate issue.

OK. It doesn't have to be part of this change, but it would good if some example use cases could be identified. All too often I come up with great ideas for APIs, and then when I look around for example use sites, I can't find any ... and maybe this is telling me the API idea isn't as great as I thought it was.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14789#discussion_r1255035997


More information about the core-libs-dev mailing list