You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2006/08/07 17:34:14 UTC
[jira] Resolved: (HARMONY-1079) [classlib][luni] Serialized form of
java.util.IdentityHashMap from RI can not be properly deserialized by
Harmony
[ http://issues.apache.org/jira/browse/HARMONY-1079?page=all ]
Tim Ellison resolved HARMONY-1079.
----------------------------------
Resolution: Fixed
Thanks Spark.
Patch applied to LUNI module at repo revision r429368.
Please check that it was applied as you expected.
> [classlib][luni] Serialized form of java.util.IdentityHashMap from RI can not be properly deserialized by Harmony
> -----------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1079
> URL: http://issues.apache.org/jira/browse/HARMONY-1079
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Assigned To: Tim Ellison
> Attachments: Harmony-1079.zip
>
>
> Serialized form of java.util.IdentityHashMap from RI can
> not be properly deserialized by Harmony. An EOFException will be thrown out.
> The following test case shows this:
> public void test_serialization_compatibility() throws Exception {
> IdentityHashMap<String, String> identityHashMap = new
> IdentityHashMap<String, String>();
> identityHashMap.put("key1", "value1");
> identityHashMap.put("key2", "value2");
> identityHashMap.put("key3", "value3");
> IdentityHashMap<String, String> nobj = (IdentityHashMap<String,
> String>) SerializationTester
> .readObject(identityHashMap,
>
> "serialization/java/util/IdentityHashMapTest.golden.0.ser");
> }
> IdentityHashMapTest.golden.0.ser is written out on RI
> The test case will pass on RI, but fail on Harmony.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira