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

Remove vestiges of gopher: protocol proxy properties

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P4
    • Resolution: Approved
    • Fix Version/s: 12
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      The behavior of the default proxy selector is modified to remove support for the gopher protocol but the protocol has not been supported since JDK 8.
    • Interface Kind:
      System or security property
    • Scope:
      JDK

      Description

      Summary

      Support for the Gopher protocol proxy properties is unused and should be removed. Support for the Gopher protocol was removed in JDK 8.

      Problem

      Properties for gopher protocol proxies are defined but are unused and should be removed.

      Solution

      Remove documentation, initialization and use of gopher related proxy properties.

      Specification

      The Gopher proxy settings are removed from conf/net.properties.

      The properties and descriptions removed are: gopherProxyHost, and gopherProxyPort.

      Diffs:

      diff --git a/src/java.base/share/conf/net.properties b/src/java.base/share/conf/net.properties
      --- a/src/java.base/share/conf/net.properties
      +++ b/src/java.base/share/conf/net.properties
      @@ -54,7 +54,0 @@
      -# Gopher Proxy settings. proxyHost is the name of the proxy server
      -# (e.g. proxy.mydomain.com), proxyPort is the port number to use (default
      -# value is 80)
      -#
      -# gopher.proxyHost=
      -# gopher.proxyPort=80
      -#

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rriggs Roger Riggs
              Reporter:
              rriggs Roger Riggs
              Reviewed By:
              Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: