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

Remove HTTP proxy implementation and tests from RMI

    Details

    • Subcomponent:
    • Resolved In Build:
      b117
    • CPU:
      generic
    • OS:
      generic

      Description

      The entire HTTP proxying mechanism of RMI was deprecated in Java SE 8.

      JDK-6512052 removes the launchers, java-rmi.cgi (Linux/Solaris) and the dysfunctional
      java-rmi.exe (Windows), and associated build machinery.

      This issue covers removal of the HTTP proxying implementation and corresponding tests
      from the JDK.

        Issue Links

          Activity

          Hide
          smarks Stuart Marks added a comment -
          The main CGI support file is:

          jdk/src/java.rmi/share/classes/sun/rmi/transport/proxy/CGIHandler

          Consider nuking everything else in the proxy directory as well; they all seem to be support
          classes for the HTTP proxy mechanism.

          There are some special cases in the remote connection handling code that support HTTP, in addition
          to the CGI handling code.

          Also investigate removing the client-side portion of the HTTP tunneling mechanism. See RMISocketFactory
          for a description. This involves two parts: RMI-over-HTTP, and RMI-over-HTTP-via-CGI.

          There are several tests that can be removed as well:

          java/rmi/transport/httpSocket/HttpSocketTest.java
          sun/rmi/transport/proxy/DisableHttpDefaultValue.java
          sun/rmi/transport/proxy/EagerHttpFallback.java
          Show
          smarks Stuart Marks added a comment - The main CGI support file is: jdk/src/java.rmi/share/classes/sun/rmi/transport/proxy/CGIHandler Consider nuking everything else in the proxy directory as well; they all seem to be support classes for the HTTP proxy mechanism. There are some special cases in the remote connection handling code that support HTTP, in addition to the CGI handling code. Also investigate removing the client-side portion of the HTTP tunneling mechanism. See RMISocketFactory for a description. This involves two parts: RMI-over-HTTP, and RMI-over-HTTP-via-CGI. There are several tests that can be removed as well: java/rmi/transport/httpSocket/HttpSocketTest.java sun/rmi/transport/proxy/DisableHttpDefaultValue.java sun/rmi/transport/proxy/EagerHttpFallback.java
          Hide
          rriggs Roger Riggs added a comment -
          Removing the HttpProxy mechanism will remove all support and documentation for system properties:
            sun.rmi.transport.proxy.logLevel
            sun.rmi.transport.tcp.proxy
            sun.rmi.transport.proxy.connectTimeout
            sun.rmi.transport.proxy.eagerHttpFallback
            java.rmi.server.disableHttp
          Show
          rriggs Roger Riggs added a comment - Removing the HttpProxy mechanism will remove all support and documentation for system properties:   sun.rmi.transport.proxy.logLevel   sun.rmi.transport.tcp.proxy   sun.rmi.transport.proxy.connectTimeout   sun.rmi.transport.proxy.eagerHttpFallback   java.rmi.server.disableHttp
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/ae10dd067bcd
          User: rriggs
          Date: 2016-04-26 21:44:35 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/ae10dd067bcd User: rriggs Date: 2016-04-26 21:44:35 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/ae10dd067bcd
          User: lana
          Date: 2016-05-04 18:39:50 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/ae10dd067bcd User: lana Date: 2016-05-04 18:39:50 +0000

            People

            • Assignee:
              rriggs Roger Riggs
              Reporter:
              smarks Stuart Marks
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: