-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
None
-
b57
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084613 | emb-9 | Jason Uh | P4 | Resolved | Fixed | team |
The javax.security.cert is being deprecated in JDK-8073430. Some methods in the internal sun.net.* and com.sun.net.* packages use the javax.security.cert.X509Certificate type, however. These methods should be removed or changed to use java.security.cert.Certificate instead.
These methods can probably be removed:
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getServerCertificateChain()
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getServerCertificateChain()
sun.net.www.protocol.https.HttpsClient.getServerCertificateChain()
sun.net.www.protocol.https.HttpsURLConnectionImpl.getServerCertificateChain()
This method may have to be modified:
com.sun.net.ssl.HttpsURLConnection.getServerCertificateChain()
These methods can probably be removed:
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getServerCertificateChain()
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getServerCertificateChain()
sun.net.www.protocol.https.HttpsClient.getServerCertificateChain()
sun.net.www.protocol.https.HttpsURLConnectionImpl.getServerCertificateChain()
This method may have to be modified:
com.sun.net.ssl.HttpsURLConnection.getServerCertificateChain()
- backported by
-
JDK-8084613 Remove javax.security.cert.X509Certificate usage in internal networking packages
-
- Resolved
-
- relates to
-
JDK-8073430 Deprecate security APIs that have been superseded
-
- Resolved
-