6673277: Thread unsafe lazy initialization code in sun.security.provider.certpath.*Checker classes
Make supportedExts variable non-static Reviewed-by: vinnie
This commit is contained in:
parent
720109f8ec
commit
172da57394
jdk/src/share/classes/sun/security/provider/certpath
@ -59,7 +59,7 @@ class ConstraintsChecker extends PKIXCertPathChecker {
|
||||
private int i;
|
||||
private NameConstraintsExtension prevNC;
|
||||
|
||||
private static Set<String> supportedExts;
|
||||
private Set<String> supportedExts;
|
||||
|
||||
/**
|
||||
* Creates a ConstraintsChecker.
|
||||
|
@ -50,7 +50,7 @@ class KeyChecker extends PKIXCertPathChecker {
|
||||
private CertSelector targetConstraints;
|
||||
private int remainingCerts;
|
||||
|
||||
private static Set<String> supportedExts;
|
||||
private Set<String> supportedExts;
|
||||
|
||||
/**
|
||||
* Default Constructor
|
||||
|
@ -68,7 +68,7 @@ class PolicyChecker extends PKIXCertPathChecker {
|
||||
private int inhibitAnyPolicy;
|
||||
private int certIndex;
|
||||
|
||||
private static Set<String> supportedExts;
|
||||
private Set<String> supportedExts;
|
||||
|
||||
private static final Debug debug = Debug.getInstance("certpath");
|
||||
static final String ANY_POLICY = "2.5.29.32.0";
|
||||
|
Loading…
x
Reference in New Issue
Block a user