On Thu, 17 Nov 2022 20:32:15 GMT, Brent Christian <bchri...@openjdk.org> wrote:

>> [JDK-8290036](https://bugs.openjdk.org/browse/JDK-8290036) documented the 
>> shutdown sequence, noting that calling Runtime.halt() skips the shutdown 
>> sequence and immediately terminates the VM. Thus, "threads' current methods 
>> do not complete normally or abruptly; no finally clause of any method is 
>> executed".
>> 
>> One ramification of this is that resources within try-with-resource blocks 
>> will not be released. It would be good to state this explicitly.
>
> Brent Christian has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   It's "try-with-resources"

(Updated the wording, per comment in the bug report)

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

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

Reply via email to