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

Weijun Wang weijun at openjdk.org
Fri Jun 16 17:35:04 UTC 2023


On Fri, 16 Jun 2023 12:52:00 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.
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   more cases to cover

I'm closing this PR since the bug is a P4 and is not allowed to be fixed in JDK 21. I'll look for a more thorough fix for JDK 22.

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

PR Comment: https://git.openjdk.org/jdk/pull/14506#issuecomment-1595017841



More information about the security-dev mailing list