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

can no longer obtain a com.sun.net.ssl.HttpsURLConnection

XMLWordPrintable

    • beta2
    • generic
    • generic

      When we moved the com.sun.* stuff into javax.net.ssl.*,
      we had the default mechanism provide an instance
      of javax.net.ssl.HttpsURLConnection. There is no
      way currently to get an com.sun.net.ssl.HttpsURLConnection.

      While this was a sun-only interface, people may still
      be expecting it, and should be able to get one.

      Our approach is to provide duplicate providers,
      one for com.* and one for sun.*. If the people followed
      the correct installation in the JSSE 1.0.2 instructions
      and properly set their pkgs locator:

      -Djava.protocol.handler.pkgs= com.sun.net.ssl.internal.www.protocol

      Then they will get a com.sun.net.ssl.HttpsURLConnection,
      otherwise, they will search the normal location and
      get a javax.net.ssl.HttpsURLConnection.

      Note that currently URL.java points at com.sun.net.ssl.internal.www.protocol
      by default. This should be removed as part of this putback.

      bradford.wetmore@eng 2001-06-25

            wetmore Bradford Wetmore
            wetmore Bradford Wetmore
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: