Summary
Remove the rmic tool; it was deprecated for removal in JDK 13. This follows the deprecation of statically-generated stubs in Java SE 8 and the removal of support for generating IDL, and IIOP stubs tie classes, in JDK 11 (JEP 320).
Problem
The rmic tool is obsolete and has been deprecated for removal in JDK 13 (JDK-8225025). The rmic tool was used to generate static stubs for the RMI protocol version 1.1. The few remaining remote services that use the version 1.1 protocol use pre-generated stubs.
RMIC is no longer used by applications since the switch to the version 1.2 rmi protocol.
Solution
Remove the jdk.rmic module and the rmic tool. Remove all references to the tool from the man pages and other documentation.
Update API docs to remove references to rmic's prior role while retaining necessary runtime support for the version 1.1 protocol.
Specification
Remove
- jdk.rmic module
- rmic tool
Update the API docs of the following packages/classes to remove references to rmic.
Detailed edits attached in remove-rmic-api-edits.patch.
- java.rmi.server package description
- java.rmi.server.Operation
- java.rmi.server.Skeleton
- java.rmi.server.SkeletonMismatchException
- java.rmi.server.UnicastRemoteObject
- csr of
-
JDK-8225319 Remove rmic from the set of supported tools
-
- Resolved
-
- relates to
-
JDK-8023863 deprecate support for statically-generated stubs from RMI (JRMP)
-
- Resolved
-
-
JDK-8225025 deprecate rmic for removal
-
- Closed
-