On Thu, 17 Nov 2022 20:08:27 GMT, Lance Andersen <lan...@openjdk.org> wrote:

>> src/java.base/share/classes/java/lang/Runtime.java line 95:
>> 
>>> 93:  * threads' current methods do not complete normally or abruptly.
>>> 94:  * {@linkplain Thread.UncaughtExceptionHandler Uncaught exception 
>>> handlers} are not run,
>>> 95:  * no {@code finally} clause of any method is executed, and 
>>> try-with-resource
>> 
>> `try-with-resource` or `try-with-resources`?
>
>> `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)

Yep

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

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

Reply via email to