JDK-8180642 : Regarding removal of HTTP proxy implementation and tests from RMI from java9
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Other
  • Submitted: 2017-05-18
  • Updated: 2017-06-06
  • Resolved: 2017-05-22
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :


A DESCRIPTION OF THE PROBLEM :
Hi Team,

This is the question  regarding with removal of "sun.rmi.transport.proxy".
Actually we are using this package in our code and don't know about any alternative for that one, Please let me know if we have any alternative for that packages in java9. if possible please let me know the reason why we remove it.

Thanks and Regards


REPRODUCIBILITY :
This bug can be reproduced always.


Comments
Try the alternative using ssh to tunnel through the proxy.
22-05-2017

An additional suggestion is to use ssh to tunnel through the proxy. Various internet resources describe how to use ssh for tunneling. Use ssh to establish a local port that is tunneled through the proxy to the remote machine. The connection will be more functional than the HTTP proxy implementation.
22-05-2017

The compatibility guide of JDK 8 (http://www.oracle.com/technetwork/java/javase/8-compatibility-guide-2156366.html#A1000033 ) had already notified that :Area: Core Libs / java.rmi Deprecated Feature The HTTP proxying feature from RMI/JRMP is now deprecated, and HTTP proxying is disabled by default. RFE 8023862 With JDK 9 (https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-7F4B9E7C-FDBD-4F79-9832-1064F4A83C6F ) Removed HTTP Proxy System Properties from RMI The RMI HTTP proxy implementation and RMI/JRMP HTTP tunneling implementation have been removed. This mechanism was deprecated in JDK 8. The following system properties have been removed in JDK 9: sun.rmi.transport.proxy.logLevel sun.rmi.transport.tcp.proxy sun.rmi.transport.proxy.connectTimeout sun.rmi.transport.proxy.eagerHttpFallback java.rmi.server.disableHttp
19-05-2017