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

javax.rmi.CORBA.Stub incompatible between JDK 1.3.x and 1.4.x

    Details

    • Subcomponent:
    • Resolved In Build:
      03
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        A problem with javax.rmi.CORBA.Stub was identified several months ago. Since a protected default constructor was removed in JDK 1.4.0, the class's serialVersionUID changed.

        For RMI-IIOP this wasn't a problem since it isn't used, but for Java Object Serialization or RMI-JRMP, it creates an incompatibility.

        Usually, users write a stringified IOR to a file. However, it is allowed to use a java.io.ObjectOutputStream to write a Stub instance.

        This was raised as an OMG issue 5332 in the Java to IDL RTF, and the vote recently passed, allowing us to include the legacy serialVersionUID in JDK 1.4.0 and beyond.

        Please see

        http://cgi.omg.org/issues/java2idl-rtf.html#Issue5332

        Also see the Comments section.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hputtaswsunw Hemanth Puttaswamy (Inactive)
                  Reporter:
                  eandersosunw Everett Anderson (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: