[8u] RFR: 8156584: Initialization race in sun.security.x509.AlgorithmId.get
serge.chernyshev at bell-sw.com
Fri Apr 30 04:53:51 UTC 2021
Here's an 8u backport identical to the one proposed by Martin Buchholz
in 2016 here .
It got approved in , but hasn't been pushed.
The patch applies almost cleanly except for the paths need unshuffling
and a difference in the removed code (new HashMap<> needs explicit
Testing: compact3, needs_jdk, needs_jre, jdk_security test groups were run.
No regressions observed.
On 4/28/2021 5:50 PM, Sergey Chernyshev wrote:
> Hi Andy,
> I see no reason why this should not be backported as it solves the race
> condition. I'm going to take it for a spin and propose the backport when
> On 4/28/2021 1:35 PM, Andy Wilkinson wrote:
>> I am a maintainer of Spring Boot and a recent change to our CI environment resulted in us being affected  by JDK-8156584 . We have worked
around the problem  but were wondering if the possible back port of the fix to JDK 8, which is being tracked by JDK-8157190 , could be rekindled?
>>  https://github.com/spring-projects/spring-boot/issues/26252
>>  https://bugs.openjdk.java.net/browse/JDK-8156584
>>  https://github.com/spring-projects/spring-boot/commit/912c82e50de096ff35ce31910ea8388298b0193e
>>  https://bugs.openjdk.java.net/browse/JDK-8157190
More information about the jdk8u-dev