I will take a look. For bug management, we need to file a separate issue
to keep track of this and mark it for backport.
Valerie
On 9/17/2019 12:46 PM, Shi, Tianmin wrote:
Hi Everyone,
This is Tianmin Shi from the Amazon Corretto team. I am new to JDK
development, please let me know if I missed anything.
I am working on backport JDK-7092821
<https://bugs.openjdk.java.net/browse/JDK-7092821> to 8u and 11u.
however I think there is a potential race condition introduced by the
change, which could cause method getService in class
java.security.Provider to return incorrect results. Which is due to
the read of legacyMap at line 1260 is not synchronized with clear and
repopulate of the same map’s entries inside ensureLegacyParsed(), the
fix is a simpler one liner in the attached webrev. Can we push this
change to tip so I can backport it with JDK-7092821
<https://bugs.openjdk.java.net/browse/JDK-7092821> together?
Thank you