[jdk11u-dev] RFR: 8224829: AsyncSSLSocketClose.java has timing issue [v2]
Martin Doerr
mdoerr at openjdk.java.net
Mon Oct 4 09:56:08 UTC 2021
On Mon, 4 Oct 2021 06:42:22 GMT, Christoph Langer <clanger at openjdk.org> wrote:
>> Backport of 8224829: AsyncSSLSocketClose.java has timing issue.
>> To make this one fit better (and maybe future backports), I also included the new recordLock functionality from JDK-8221882.
>
> Christoph Langer has updated the pull request incrementally with one additional commit since the last revision:
>
> Minor addition: Copyright header and don't synchronize on close() in DTLSInputRecord
Right, we need the `recordLock` for this change. Unfortunately, JDK-8221882 is too large for a backport and the part you have taken from it is not small, either. So, we need to be careful when doing more backports in this area. Your version looks good to me.
-------------
Marked as reviewed by mdoerr (Reviewer).
PR: https://git.openjdk.java.net/jdk11u-dev/pull/446
More information about the jdk-updates-dev
mailing list