hg: jdk/sandbox: 8231387: java.security.Provider.getService returns random result due to race condition with mutating methods in the same class
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Wed Sep 25 15:30:22 UTC 2019
Changeset: 270abce77942
Author: phh
Date: 2019-09-25 08:29 -0700
URL: https://hg.openjdk.java.net/jdk/sandbox/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-sandbox-changes
mailing list