-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
01
-
generic, sparc
-
generic, solaris_7
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2039989 | 1.4.0 | Everett Anderson | P3 | Resolved | Fixed | merlin |
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
********************************************************************************
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
********************************************************************************
- backported by
-
JDK-2039989 RMI-IIOP's putFields/getFields implementation is broken
- Resolved
- duplicates
-
JDK-4399798 Serialization Interop in cross-JDK, same-platform is broken
- Closed
- relates to
-
JDK-4423950 Class evolution with PutField/GetField broken
- Closed