Issue related to backport JDK-7092821
Shi, Tianmin
tianshi at amazon.com
Tue Sep 17 19:46:04 UTC 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20190917/e57f1ce3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webrev.zip
Type: application/zip
Size: 140504 bytes
Desc: webrev.zip
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20190917/e57f1ce3/webrev.zip>
More information about the security-dev
mailing list