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: Open
  • Resolution: Unresolved
  • Submitted: 2019-03-01
  • Updated: 2019-10-09
Related Reports
Relates :  
Description
With the removing of the internal packet  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