JDK-8219987 : Cleanup the delegation mode of HttpsURLConnection implementation
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 13
  • Priority: P3
  • Status: In Progress
  • Resolution: Unresolved
  • Submitted: 2019-03-01
  • Updated: 2025-07-17
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
tbdUnresolved
Related Reports
Relates :  
Description
With the removing of the internal package  com.sun.net.ssl, it is not necessary to use delegation mode in the HttpsURLConnection implementation (see src/java.base/share/classes/sun/net/www/protocol/https/AbstractDelegateHttpsURLConnection.java).  It is nice to re-org the code for cleanup the delegation code.
Comments
IIRC, we had to make several methods public so that the delegation would work correctly.
02-03-2019