JDK-8359730 : Remove the MultiplexProtocol from the RMI specification
  • Type: CSR
  • Component: core-libs
  • Sub-Component: java.rmi
  • Priority: P4
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 25,26
  • Submitted: 2025-06-16
  • Updated: 2025-06-20
  • Resolved: 2025-06-20
Related Reports
CSR :  
Description
Summary
-------

The specification of the Multiplex protocol is removed from the RMI Specification, support for the protocol was removed in JDK 9.

Problem
-------
The RMI specification was not updated in JDK 9 when support for the multiplex protocol was removed.

Solution
--------

Remove the specification of the MultiplexProtocol from the RMI specification.

Specification
-------------

In the RMI specification, protocol.html:

 - Section 10.2.1 Format of an OutputStream
   References to the multiplex protocol are removed.
 - Section 10.6 RMI's Multiplexing Protocol; the body is replaced with:
   "The implementation for the MultiplexProtocol has been removed as of JDK 9."

The patch and the resulting html for protocol.md are attached.


Comments
Moving updated request to Approved.
20-06-2025

Updated patch and protocol.html to correctly reference Java SE 9.
20-06-2025

For > +Note: The obsolete `Protocol` `MultiplexProtocol (0x4d)` has been removed as of JDK 9. > + would this be better as "Java SE 9" rather than "JDK 9" as the specification is part of SE?
20-06-2025

Add JDK 26 to the set of fixVersions to support the back porting process.
20-06-2025

Updated the rmi-no-multiplex.patch and protocol.html to move the notes about multiplexprotocol removal to section 10.2.1.
20-06-2025

Moving to Provisional, not Approved. [~rriggs], before the CSR is Finalized, please include or attach some kind of patch of the deletions.
16-06-2025