[jdk8u-ri] RFR: 8287132: Retire Runtime.runFinalizersOnExit so that it always throws UOE [v2]
David Holmes
dholmes at openjdk.java.net
Wed May 25 01:26:59 UTC 2022
On Tue, 24 May 2022 17:07:07 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Missing paragraph tag.
>
> jdk/src/share/classes/java/lang/Shutdown.java line 142:
>
>> 140: // Synchronization is for visibility; only one thread
>> 141: // can ever get here.
>> 142: synchronized(lock) {
>
> Suggestion:
>
> synchronized (lock) {
>
>
> Nit: a space after `synchronized`, consistent with the style in this local file.
Fixed.
-------------
PR: https://git.openjdk.java.net/jdk8u-ri/pull/9
More information about the jdk8u-dev
mailing list