hg: jdk/jdk: 8231387: java.security.Provider.getService returns random result due to race condition with mutating methods in the same class
paul.hohensee at gmail.com
paul.hohensee at gmail.com
Wed Sep 25 15:29:44 UTC 2019
Changeset: 270abce77942
Author: phh
Date: 2019-09-25 08:29 -0700
URL: https://hg.openjdk.java.net/jdk/jdk/rev/270abce77942
8231387: java.security.Provider.getService returns random result due to race condition with mutating methods in the same class
Summary: Synchronize access to legacyMap in Provider.getService.
Reviewed-by: valeriep
Contributed-by: Tianmin Shi <tianshi at amazon.com>
! src/java.base/share/classes/java/security/Provider.java
+ test/jdk/java/security/Provider/GetServiceRace.java
More information about the jdk-all-changes
mailing list