Integrated: 8309667: TLS handshake fails because of ConcurrentModificationException in PKCS12KeyStore.engineGetEntry

Weijun Wang weijun at openjdk.org
Mon Oct 2 21:56:11 UTC 2023


On Mon, 25 Sep 2023 18:12:32 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> A different fix after https://github.com/openjdk/jdk/pull/14506 was closed.
> 
> Still haven't made the attributes set immutable but at least it is populated before an entry is added to `entries` and it will never be modified later.
> 
> I tried the newly added `AttributesMultiThread.java` test hundreds of times and only observed failures before this fix (~%2 failure rate).

This pull request has now been integrated.

Changeset: d2e2c4ce
Author:    Weijun Wang <weijun at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d2e2c4cef1f15a3fc7f1f619470d23ae6bb37725
Stats:     259 lines in 3 files changed: 250 ins; 2 del; 7 mod

8309667: TLS handshake fails because of ConcurrentModificationException in PKCS12KeyStore.engineGetEntry

Reviewed-by: djelinski, mullan

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

PR: https://git.openjdk.org/jdk/pull/15909



More information about the security-dev mailing list