On Fri, 7 Jul 2023 15:56:13 GMT, Brian Burkhalter <b...@openjdk.org> wrote:
>> 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 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. ------------- PR Comment: https://git.openjdk.org/jdk/pull/14789#issuecomment-1627236039