Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8240974

Retire the com.sun.net.ssl.internal.ssl.Provider name

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 15
    • security-libs
    • None
    • behavioral
    • low
    • There might be some projects that still use the legacy internal provider name. But they have had plenty of advance warning to switch to use the formal name.
    • Java API, Other
    • JDK

      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.

            xuelei Xuelei Fan
            xuelei Xuelei Fan
            Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: