JDK-8066750 : Remove HTTP proxy implementation and tests from RMI
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.rmi
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-12-05
  • Updated: 2017-10-03
  • Resolved: 2016-04-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b117Fixed
Related Reports
Blocks :  
Cloners :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8153320 :  
JDK-8176413 :  
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.
Comments
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
01-04-2016

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
05-12-2014