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

Xue-Lei Andrew Fan xuelei at openjdk.org
Fri Jun 16 02:45:00 UTC 2023


On Fri, 16 Jun 2023 01:21:57 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> The `attributes` field inside the `PKCS12KeyStore.Entry` class might be modified and retrieved at the same time. Make it concurrent.
> 
> The test uses some reflection to get this field and try updating it in multiple threads.

Nice catch!

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

Marked as reviewed by xuelei (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14506#pullrequestreview-1482638205



More information about the security-dev mailing list