JDK-8235448 : code cleanup in SSLContextImpl.java
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-12-05
  • Updated: 2019-12-17
  • Resolved: 2019-12-09
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.
JDK 14
14 b27Fixed
Related Reports
Relates :  
Description
File: src/java.base/share/classes/sun/security/ssl/SSLContextImpl.java

During the code review of JDK-8190492, it was found that the TLS context code in this file needs update to rename variables/methods and/or cleanup the code for it to be more readable.

For instance - the method at line 596 (getSupportedProtocols) is only called at line 855 from customizedProtocols class. It should really be read as getServerDefaultProtocols. getProtocols() in customizedProtocols can also be moved out.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/a0c21305ee87 User: xuelei Date: 2019-12-09 18:56:42 +0000
09-12-2019