-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b04
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8055211 | 9 | Raymond Gallardo | P4 | Resolved | Fixed | |
JDK-8064268 | 8u45 | Raymond Gallardo | P4 | Resolved | Fixed | b01 |
JDK-8070545 | emb-8u47 | Raymond Gallardo | P4 | Resolved | Fixed | team |
In the section "PKIX TrustManager Support" in the JSSE Reference Guide there is sample code with the following declaration and subsequent calls
CertPathParameters pkixParams = new PKIXBuilderParameters(anchors, new
X509CertSelector());
...
pkixParams.addCertStore(CertStore.getInstance("LDAP", lcsp));
...
pkixParams.setRevocationEnabled(true);
The type of "pkixParams" should be a PKIXBuilderParameters object so the subsequent addCertStore() and setRevocationEnabled() calls will compile.
CertPathParameters pkixParams = new PKIXBuilderParameters(anchors, new
X509CertSelector());
...
pkixParams.addCertStore(CertStore.getInstance("LDAP", lcsp));
...
pkixParams.setRevocationEnabled(true);
The type of "pkixParams" should be a PKIXBuilderParameters object so the subsequent addCertStore() and setRevocationEnabled() calls will compile.
- backported by
-
JDK-8055211 Incorrect CertPathParameters declaration in JSSE Reference Guide sample code
-
- Resolved
-
-
JDK-8064268 Incorrect CertPathParameters declaration in JSSE Reference Guide sample code
-
- Resolved
-
-
JDK-8070545 Incorrect CertPathParameters declaration in JSSE Reference Guide sample code
-
- Resolved
-