RFR: 8288984: Simplification in Shutdown.exit [v3]
David Holmes
dholmes at openjdk.org
Tue Jul 5 04:12:39 UTC 2022
On Mon, 4 Jul 2022 16:17:27 GMT, Ryan Ernst <duke at openjdk.org> wrote:
>> This is a followup to simplify Shutdown.exit after the removal of
>> finalizers (https://bugs.openjdk.org/browse/JDK-8198250). Once agreement
>> on the approach has been reached in this PR, a CSR will be filed to
>> propose the spec change to Runtime.exit.
>
> Ryan Ernst has updated the pull request incrementally with one additional commit since the last revision:
>
> iterate on wording
src/java.base/share/classes/java/lang/Runtime.java line 90:
> 88: * invocation may be initiated via platform specific signal handlers. All
> 89: * other invocations will block indefinitely, and their supplied exit
> 90: * statuses will be ignored. If this method is invoked from a shutdown hook
If they block indefinitely then it is implicit that nothing happens with their exit status. I think you are trying to say too much.
-------------
PR: https://git.openjdk.org/jdk/pull/9351
More information about the core-libs-dev
mailing list