Relates :
|
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()