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

Brent Christian bchristi at openjdk.org
Wed Dec 7 17:33:13 UTC 2022


On Wed, 7 Dec 2022 02:39:55 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Brent Christian has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   put examples into a list, in class doc only, not halt()
>
> src/java.base/share/classes/java/lang/Runtime.java line 98:
> 
>> 96:  * <li>{@code finally} clauses are not executed;</li>
>> 97:  * <li>{@linkplain Thread.UncaughtExceptionHandler uncaught exception handlers} are not run; and</li>
>> 98:  * <li>resources opened with try-with-resources are not {@linkplain AutoCloseable close}d;</li>
> 
> Having the 'd' outside the link text looks very odd to me.

Changed

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

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


More information about the core-libs-dev mailing list