<div><span style="color:rgb(49,49,49);font-family:-apple-system,"Helvetica Neue";word-spacing:1px">What would an alternative method signature look like for a method called closeUnchecked?</span><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 8 Jul 2023 at 15.49, Glavo <<a href="mailto:duke@openjdk.org">duke@openjdk.org</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
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.<br></blockquote></div></div>