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

RMI server-side multiplex protocol support should be removed

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Approved
    • Fix Version/s: 10
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      The RMI multiplexing protocol has been disabled in JDK 9 and is not used.
    • Interface Kind:
      System or security property
    • Scope:
      JDK

      Description

      Summary

      The RMI Multiplexing Protocol implementation is being removed. It is unused and has been disabled since JDK 9.

      Problem

      The RMI Multiplex protocol was introduced in JDK 1.0.2 but longer is used and the implementation is no longer needed. The unused code will be removed to simplify documentation, support, and testing. The multiplex protocol does not appear in the public API and there is no client side support for the multiplexing protocol.

      The RMI Specification "Java Remote Method Invocation: 10 - RMI Wire Protocol" includes the multiplex protocol but its support is not mandated. There are no compatibility tests in the JCK for multiplexing.

      Solution

      Replace the implementation so that it responds to a request for the MultiplexProtocol with the response ProtocolNack to indicate it is not supported.

      The system property sun.rmi.transport.tcp.enableMultiplexProtocol is no longer needed and will be ignored.

      Specification

      There are no changes to the RMI API or specification.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: