mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
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
3 changed files with 3 additions and 3 deletions
|
@ -59,7 +59,7 @@ class ConstraintsChecker extends PKIXCertPathChecker {
|
||||||
private int i;
|
private int i;
|
||||||
private NameConstraintsExtension prevNC;
|
private NameConstraintsExtension prevNC;
|
||||||
|
|
||||||
private static Set<String> supportedExts;
|
private Set<String> supportedExts;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a ConstraintsChecker.
|
* Creates a ConstraintsChecker.
|
||||||
|
|
|
@ -50,7 +50,7 @@ class KeyChecker extends PKIXCertPathChecker {
|
||||||
private CertSelector targetConstraints;
|
private CertSelector targetConstraints;
|
||||||
private int remainingCerts;
|
private int remainingCerts;
|
||||||
|
|
||||||
private static Set<String> supportedExts;
|
private Set<String> supportedExts;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default Constructor
|
* Default Constructor
|
||||||
|
|
|
@ -68,7 +68,7 @@ class PolicyChecker extends PKIXCertPathChecker {
|
||||||
private int inhibitAnyPolicy;
|
private int inhibitAnyPolicy;
|
||||||
private int certIndex;
|
private int certIndex;
|
||||||
|
|
||||||
private static Set<String> supportedExts;
|
private Set<String> supportedExts;
|
||||||
|
|
||||||
private static final Debug debug = Debug.getInstance("certpath");
|
private static final Debug debug = Debug.getInstance("certpath");
|
||||||
static final String ANY_POLICY = "2.5.29.32.0";
|
static final String ANY_POLICY = "2.5.29.32.0";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue