提交 403a2ed2 编写于 作者: M mullan

6673277: Thread unsafe lazy initialization code in sun.security.provider.certpath.*Checker classes

Summary: make supportedExts variable non-static
Reviewed-by: vinnie
上级 878c17e5
......@@ -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";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册