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

Remove rmic from the set of supported tools

    XMLWordPrintable

Details

    • CSR
    • Resolution: Approved
    • P3
    • 15
    • core-libs
    • None
    • behavioral
    • minimal
    • Rmic is not used; a fallback is to use rmic from a previous release.
    • add/remove command in $JDK/bin
    • SE

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              rriggs Roger Riggs
              smarks Stuart Marks
              Alan Bateman, Lance Andersen, Stuart Marks
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: