This would be useful for cases where close is invoked explicitly, esp. with resources that are open for reading.
The proposed API isn't useful for try-with-resources as it will continue to invoke close.
- relates to
-
JDK-8136428 Add Closeable:closeIgnoreException to close without throwing
-
- Open
-
- links to
-
Review openjdk/jdk/14789