On Fri, 16 Jun 2023 12:52:00 GMT, Weijun Wang 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.
>
>
On Fri, 16 Jun 2023 12:52:00 GMT, Weijun Wang 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.
>
>
On Fri, 16 Jun 2023 12:45:58 GMT, Weijun Wang wrote:
>> src/java.base/share/classes/sun/security/pkcs12/PKCS12KeyStore.java line
>> 1438:
>>
>>> 1436:
>>> 1437: if (entry.attributes == null) {
>>> 1438: entry.attributes = ConcurrentHashMap.newKeySet();
>>
>> It seems that
On Fri, 16 Jun 2023 09:25:30 GMT, Daniel Fuchs wrote:
>> Weijun Wang has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> more cases to cover
>
> src/java.base/share/classes/sun/security/pkcs12/PKCS12KeyStore.java line 1438:
>
>> 1436:
>> 1
On Fri, 16 Jun 2023 09:53:10 GMT, Daniel JeliĆski wrote:
>> Weijun Wang has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> more cases to cover
>
> src/java.base/share/classes/sun/security/pkcs12/PKCS12KeyStore.java line 1:
>
>> 1: /*
>
>
> 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