RFR: 8349206: j.u.l.Handler classes create deadlock risk via synchronized publish() method [v6]
David Beaumont
duke at openjdk.org
Fri Feb 28 14:23:51 UTC 2025
On Tue, 25 Feb 2025 01:19:14 GMT, Stuart Marks <smarks at openjdk.org> wrote:
>> David Beaumont has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Tweaking @implNote for better rendering.
>
> src/java.logging/share/classes/java/util/logging/StreamHandler.java line 268:
>
>> 266: }
>> 267:
>> 268: // Called synchronously.
>
> I would be more specific here and say that it's called while the lock on `this` is held.
Done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23491#discussion_r1975491616
More information about the core-libs-dev
mailing list