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

RMI-IIOP's putFields/getFields implementation is broken

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      01
    • CPU:
      generic, sparc
    • OS:
      generic, solaris_7
    • Verification:
      Verified

      Backports

        Description

        The RMI-IIOP implementation of putFields/getFields for serialization
        actually sends and expects a java.util.Hashtable with the expected
        fields.

        It should do something such that it maintains wire compatibility
        with older versions of a class that didn't use putFields/getFields --
        writing the fields in the order of the older class (probably
        defined with serialPersistentFields).

        See the HookPutFields and HookGetFields classes in

        com.sun.corba.se.internal.io

        InputStreamHook.java
        and
        OutputStreamHook.java

        Note that if version 1.0 of a class uses putFields/getFields from the start, it will work fine. However, this serialization mechanism is specifically intended for maintaining backwards compatibility.

        *******************************************************************************
        muthu.anbumani@eng 2001-08-03

        - Verification of the Attached Testcase against the Following builds Done Successfully.

        - Build: j2sdk-1_4_0-beta_refresh-bin-b74-solsparc-01_aug_2001
        - Build: j2sdk-1_3_1_01-fcs-bin-solsparc-27_jun_2001
        ********************************************************************************

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                eandersosunw Everett Anderson (Inactive)
                Reporter:
                eandersosunw Everett Anderson (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: