RFR: 8066869: Add Closeable::closeUnchecked that is the equivalent of close but throws UncheckedIOException [v2]
Kasper Nielsen
kasperni at gmail.com
Sun Jul 9 12:45:48 UTC 2023
What would an alternative method signature look like for a method called
closeUnchecked?
On Sat, 8 Jul 2023 at 15.49, Glavo <duke at openjdk.org> wrote:
>
> Can it be a static method instead of a default method? `Closeable` is a
> widely used class, so adding new default methods risks conflicting with
> existing methods.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20230709/156a56f5/attachment.htm>
More information about the core-libs-dev
mailing list