diff --git a/src/share/classes/java/rmi/server/RMISocketFactory.java b/src/share/classes/java/rmi/server/RMISocketFactory.java index ec9ade2f54c875ad6b9ca7178e3b433bf0ed2cb6..c9b8a4786a4c7dc0fe629e33e89996cee28fe0b2 100644 --- a/src/share/classes/java/rmi/server/RMISocketFactory.java +++ b/src/share/classes/java/rmi/server/RMISocketFactory.java @@ -41,7 +41,15 @@ import java.net.*; * (due to a firewall), the runtime uses HTTP with the explicit port * number of the server. If the firewall does not allow this type of * communication, then HTTP to a cgi-bin script on the server is used - * to POST the RMI call. + * to POST the RMI call. The HTTP tunneling mechanisms are disabled by + * default. This behavior is controlled by the {@code java.rmi.server.disableHttp} + * property, whose default value is {@code true}. Setting this property's + * value to {@code false} will enable the HTTP tunneling mechanisms. + * + *

Deprecated: HTTP Tunneling. The HTTP tunneling mechanisms + * described above, specifically HTTP with an explicit port and HTTP to a + * cgi-bin script, are deprecated. These HTTP tunneling mechanisms are + * subject to removal in a future release of the platform. * *

The default socket factory implementation creates server sockets that * are bound to the wildcard address, which accepts requests from all network diff --git a/src/share/classes/java/rmi/server/package.html b/src/share/classes/java/rmi/server/package.html index 290ca9a4ba2fb6e73123807fb6cb89ae48fb571e..98b76699fa5c5f20acf73a492af746675459d10f 100644 --- a/src/share/classes/java/rmi/server/package.html +++ b/src/share/classes/java/rmi/server/package.html @@ -1,5 +1,5 @@