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

Remove vestiges of gopher: protocol proxy properties

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 12
    • core-libs
    • None
    • behavioral
    • minimal
    • 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.
    • System or security property
    • JDK

      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
      -#

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

              Created:
              Updated:
              Resolved: