JDK-8240974 : Retire the com.sun.net.ssl.internal.ssl.Provider name
  • Type: CSR
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Priority: P4
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 15
  • Submitted: 2020-03-12
  • Updated: 2020-03-18
  • Resolved: 2020-03-18
Related Reports
CSR :  
Description
Summary
-------
Remove the legacy SunJSSE provider name, "com.sun.net.ssl.internal.ssl.Provider".

Problem
-------
The internal package com.sun.net.ssl had been removed in JDK 13 (See JDK-8215430).  However, for compatibility, the provider name, "com.sun.net.ssl.internal.ssl.Provider" was reserved as an alias of the "SunJSSE" name.  Applications should no longer use the legacy name.

Solution
--------
Remove the legacy SunJSSE provider name, "com.sun.net.ssl.internal.ssl.Provider", in JDK. The "SunJSSE" provider name should be used instead (for example, "SSLContext.getInstance("TLS", "SunJSSE")"). 

Specification
-------------
No public specification update. See Solution section.
Comments
As noted in the main issue, there is the possibility of behavioral compatibility failures. I suggest making the change now, early in 15, with the possibility of reverting the change if the impact is judged as too large. Moving to Approved.
18-03-2020