RFR: 8295857: Clarify that cleanup code can be skipped when the JVM terminates (e.g. when calling halt())

Lance Andersen lancea at openjdk.org
Thu Nov 17 20:14:06 UTC 2022


On Thu, 17 Nov 2022 19:39:09 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> `try-with-resource` or `try-with-resources`?

Agree should be [try-with-resources](https://docs.oracle.com/javase/8/docs/technotes/guides/language/try-with-resources.html)

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

PR: https://git.openjdk.org/jdk/pull/11218


More information about the core-libs-dev mailing list