JDK-8180134 : Fix deprecation warnings in javax.net.ssl
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2017-05-10
  • Updated: 2020-11-30
  • Resolved: 2020-11-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Description
Deprecation warnings in javax.net.ssl are as follows: (information copied from JDK-8066619, as of 2014-12-03)

jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsPrfGenerator.java:115: warning: [deprecation] TlsPrfParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsPrfGenerator.java:126: warning: [deprecation] TlsPrfParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsPrfGenerator.java:129: warning: [deprecation] TlsPrfParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsKeyMaterialGenerator.java:49: warning: [deprecation] TlsKeyMaterialParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsKeyMaterialGenerator.java:62: warning: [deprecation] TlsKeyMaterialParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsKeyMaterialGenerator.java:65: warning: [deprecation] TlsKeyMaterialParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsKeyMaterialGenerator.java:182: warning: [deprecation] TlsKeyMaterialSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsKeyMaterialGenerator.java:274: warning: [deprecation] TlsKeyMaterialSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsMasterSecretGenerator.java:49: warning: [deprecation] TlsMasterSecretParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsMasterSecretGenerator.java:62: warning: [deprecation] TlsMasterSecretParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsMasterSecretGenerator.java:65: warning: [deprecation] TlsMasterSecretParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsMasterSecretGenerator.java:142: warning: [deprecation] TlsMasterSecret in sun.security.internal.interfaces has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsRsaPremasterSecretGenerator.java:47: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsRsaPremasterSecretGenerator.java:59: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/com/sun/crypto/provider/TlsRsaPremasterSecretGenerator.java:62: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/sun/security/ssl/HandshakeMessage.java:1966: warning: [deprecation] TlsPrfParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/sun/security/ssl/HandshakeMessage.java:1966: warning: [deprecation] TlsPrfParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/sun/security/ssl/Handshaker.java:1125: warning: [deprecation] TlsMasterSecretParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/sun/security/ssl/Handshaker.java:1125: warning: [deprecation] TlsMasterSecretParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/sun/security/ssl/Handshaker.java:1200: warning: [deprecation] TlsKeyMaterialParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/sun/security/ssl/Handshaker.java:1200: warning: [deprecation] TlsKeyMaterialParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/sun/security/ssl/Handshaker.java:1210: warning: [deprecation] TlsKeyMaterialSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/sun/security/ssl/Handshaker.java:1210: warning: [deprecation] TlsKeyMaterialSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/sun/security/ssl/RSAClientKeyExchange.java:78: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/sun/security/ssl/RSAClientKeyExchange.java:117: warning: [deprecation] TlsRsaPremasterSecretParameterSpec in sun.security.internal.spec has been deprecated
jdk/src/java.base/share/classes/sun/security/ssl/RSASignature.java:202: warning: [deprecation] engineGetParameter(String) in SignatureSpi has been deprecated
jdk/src/java.base/share/classes/sun/security/ssl/RSASignature.java:186: warning: [deprecation] engineSetParameter(String,Object) in SignatureSpi has been deprecated
jdk/src/java.base/share/classes/sun/security/ssl/RSASignature.java:87: warning: [deprecation] setParameter(String,Object) in Signature has been deprecated

Comments
The issues had been addressed in the current repository.
30-11-2020