On Wed, 21 Oct 2026 11:38:15 GMT, Artem Semenov <[email protected]> wrote:

> The sslConfig field is read without holding serverSocketLock in
> accept(), while all other accesses are performed under the lock.
> Wrap the SSLSocketImpl construction with the lock to make the access
> consistent and avoid a potential data race. Use try/finally so the
> lock is always released, even if the constructor throws.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

LGTM, thank you for your contribution!

-------------

Marked as reviewed by abarashev (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/33491#pullrequestreview-5756122057

Reply via email to