JDK-8202996 : Remove debug print statements from RMI fix
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 8u171
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-05-11
  • Updated: 2019-01-14
  • Resolved: 2018-07-12
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 8 Other
8u181Fixed openjdk7uFixed
Description
Reported via http://mail.openjdk.java.net/pipermail/jdk8u-dev/2018-May/007464.html

Hi,

I wonder if http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/d70c21e5b413
have not sneaked in few debug messages, namely:

                 if (magic == POST) {
+                    System.err.println("DISABLED: " + disableIncomingHttp);
+                    if (disableIncomingHttp) {
+                        throw new RemoteException("RMI over HTTP is disabled");
+                    }
                     tcpLog.log(Log.BRIEF, "decoding HTTP-wrapped call");