On Fri, 17 Feb 2023 07:48:41 GMT, Alan Bateman <[email protected]> wrote:
>> Roger Riggs has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Improve implNote for Runtime.exit() with review suggestions.
>
> src/java.base/share/classes/java/lang/Runtime.java line 162:
>
>> 160: * If the {@link System#getLogger(String) the system logger} for
>> {@code java.lang.Runtime}
>> 161: * is enabled with logging level {@link System.Logger.Level#DEBUG
>> Level.DEBUG} the stack trace
>> 162: * of the call to {@code Runtime.exit()} is logged.
>
> Have you ruled out adding the implNote to System.exit too? Asking as I
> suspect it's more likely to be read there.
I'll add an implNote to System.exit, and update the CSR.
* @implNote
* The initiation of the shutdown sequence is logged by {@link
Runtime#exit(int)}.
-------------
PR: https://git.openjdk.org/jdk/pull/12517