You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "spark shen (JIRA)" <ji...@apache.org> on 2006/08/08 12:45:14 UTC
[jira] Created: (HARMONY-1102) [classlib][luni] Method
readResolve() missing in java.util.Collections.EmptySet, EmptyList and
EmptyMap.
[classlib][luni] Method readResolve() missing in java.util.Collections.EmptySet, EmptyList and EmptyMap.
--------------------------------------------------------------------------------------------------------
Key: HARMONY-1102
URL: http://issues.apache.org/jira/browse/HARMONY-1102
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: spark shen
Method readResolve() missing in java.util.Collections.EmptySet,
EmptyList and EmptyMap.The instances of "public static final Map
EMPTY_MAP","public static final Set EMPTY_Set" and "public static final List
EMPTY_List" should be a singleton respectively according to the following test
cases, and should keep as a singleton respectively after de-serialization.
JIRA testcase:
public void test_EmptyList_Singleton() throws Exception {
List theEmptyList = Collections.EMPTY_LIST;
List same1 = (List) SerializationTester
.getDeserilizedObject(theEmptyList);
List same2 = (List) SerializationTester
.getDeserilizedObject(theEmptyList);
assertSame(same1, same2);
assertSame(same1, theEmptyList);
}
public void test_EmptyMap_Singleton() throws Exception {
Map theEmptyMap = Collections.EMPTY_MAP;
Map sameMap1 = (Map) SerializationTester
.getDeserilizedObject(theEmptyMap);
Map sameMap2 = (Map) SerializationTester
.getDeserilizedObject(theEmptyMap);
assertSame(sameMap1, sameMap2);
assertSame(sameMap1, theEmptyMap);
}
public void test_EmptySet_Singleton() throws Exception {
Set theEmptySet = Collections.EMPTY_SET;
Set sameSet1 = (Set) SerializationTester
.getDeserilizedObject(theEmptySet);
Set sameSet2 = (Set) SerializationTester
.getDeserilizedObject(theEmptySet);
assertSame(sameSet1, sameSet2);
assertSame(sameSet1, theEmptySet);
}
JIRA test result
RI 5.0 passes this test, but Harmony fails.
I will attach a patch to fix this problem.
Best regards
Spark shen
--
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
[jira] Closed: (HARMONY-1102) [classlib][luni] Method readResolve()
missing in java.util.Collections.EmptySet, EmptyList and EmptyMap.
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1102?page=all ]
Paulex Yang closed HARMONY-1102.
--------------------------------
Verified by Spark.
> [classlib][luni] Method readResolve() missing in java.util.Collections.EmptySet, EmptyList and EmptyMap.
> --------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1102
> URL: http://issues.apache.org/jira/browse/HARMONY-1102
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Assigned To: Paulex Yang
> Attachments: harmony-1102.diff, harmony_newTestFrameWork-1102.diff
>
>
> Method readResolve() missing in java.util.Collections.EmptySet,
> EmptyList and EmptyMap.The instances of "public static final Map
> EMPTY_MAP","public static final Set EMPTY_Set" and "public static final List
> EMPTY_List" should be a singleton respectively according to the following test
> cases, and should keep as a singleton respectively after de-serialization.
> JIRA testcase:
> public void test_EmptyList_Singleton() throws Exception {
> List theEmptyList = Collections.EMPTY_LIST;
> List same1 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> List same2 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> assertSame(same1, same2);
> assertSame(same1, theEmptyList);
> }
> public void test_EmptyMap_Singleton() throws Exception {
> Map theEmptyMap = Collections.EMPTY_MAP;
> Map sameMap1 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> Map sameMap2 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> assertSame(sameMap1, sameMap2);
> assertSame(sameMap1, theEmptyMap);
> }
> public void test_EmptySet_Singleton() throws Exception {
> Set theEmptySet = Collections.EMPTY_SET;
> Set sameSet1 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> Set sameSet2 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> assertSame(sameSet1, sameSet2);
> assertSame(sameSet1, theEmptySet);
> }
> JIRA test result
> RI 5.0 passes this test, but Harmony fails.
> I will attach a patch to fix this problem.
> Best regards
> Spark shen
--
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
[jira] Updated: (HARMONY-1102) [classlib][luni] Method
readResolve() missing in java.util.Collections.EmptySet, EmptyList and
EmptyMap.
Posted by "spark shen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1102?page=all ]
spark shen updated HARMONY-1102:
--------------------------------
Attachment: harmony_newTestFrameWork-1102.diff
This is the patch using new test framework. Would you please try it?
Best regards
Spark
> [classlib][luni] Method readResolve() missing in java.util.Collections.EmptySet, EmptyList and EmptyMap.
> --------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1102
> URL: http://issues.apache.org/jira/browse/HARMONY-1102
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Assigned To: Paulex Yang
> Attachments: harmony-1102.diff, harmony_newTestFrameWork-1102.diff
>
>
> Method readResolve() missing in java.util.Collections.EmptySet,
> EmptyList and EmptyMap.The instances of "public static final Map
> EMPTY_MAP","public static final Set EMPTY_Set" and "public static final List
> EMPTY_List" should be a singleton respectively according to the following test
> cases, and should keep as a singleton respectively after de-serialization.
> JIRA testcase:
> public void test_EmptyList_Singleton() throws Exception {
> List theEmptyList = Collections.EMPTY_LIST;
> List same1 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> List same2 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> assertSame(same1, same2);
> assertSame(same1, theEmptyList);
> }
> public void test_EmptyMap_Singleton() throws Exception {
> Map theEmptyMap = Collections.EMPTY_MAP;
> Map sameMap1 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> Map sameMap2 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> assertSame(sameMap1, sameMap2);
> assertSame(sameMap1, theEmptyMap);
> }
> public void test_EmptySet_Singleton() throws Exception {
> Set theEmptySet = Collections.EMPTY_SET;
> Set sameSet1 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> Set sameSet2 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> assertSame(sameSet1, sameSet2);
> assertSame(sameSet1, theEmptySet);
> }
> JIRA test result
> RI 5.0 passes this test, but Harmony fails.
> I will attach a patch to fix this problem.
> Best regards
> Spark shen
--
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
[jira] Commented: (HARMONY-1102) [classlib][luni] Method
readResolve() missing in java.util.Collections.EmptySet, EmptyList and
EmptyMap.
Posted by "spark shen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1102?page=comments#action_12426848 ]
spark shen commented on HARMONY-1102:
-------------------------------------
OK. I will attach a new patch soon.
> [classlib][luni] Method readResolve() missing in java.util.Collections.EmptySet, EmptyList and EmptyMap.
> --------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1102
> URL: http://issues.apache.org/jira/browse/HARMONY-1102
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Assigned To: Paulex Yang
> Attachments: harmony-1102.diff
>
>
> Method readResolve() missing in java.util.Collections.EmptySet,
> EmptyList and EmptyMap.The instances of "public static final Map
> EMPTY_MAP","public static final Set EMPTY_Set" and "public static final List
> EMPTY_List" should be a singleton respectively according to the following test
> cases, and should keep as a singleton respectively after de-serialization.
> JIRA testcase:
> public void test_EmptyList_Singleton() throws Exception {
> List theEmptyList = Collections.EMPTY_LIST;
> List same1 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> List same2 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> assertSame(same1, same2);
> assertSame(same1, theEmptyList);
> }
> public void test_EmptyMap_Singleton() throws Exception {
> Map theEmptyMap = Collections.EMPTY_MAP;
> Map sameMap1 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> Map sameMap2 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> assertSame(sameMap1, sameMap2);
> assertSame(sameMap1, theEmptyMap);
> }
> public void test_EmptySet_Singleton() throws Exception {
> Set theEmptySet = Collections.EMPTY_SET;
> Set sameSet1 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> Set sameSet2 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> assertSame(sameSet1, sameSet2);
> assertSame(sameSet1, theEmptySet);
> }
> JIRA test result
> RI 5.0 passes this test, but Harmony fails.
> I will attach a patch to fix this problem.
> Best regards
> Spark shen
--
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
[jira] Commented: (HARMONY-1102) [classlib][luni] Method
readResolve() missing in java.util.Collections.EmptySet, EmptyList and
EmptyMap.
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1102?page=comments#action_12426570 ]
Paulex Yang commented on HARMONY-1102:
--------------------------------------
Spark, IIRC on the mailing list, we have agreed to use new serialization framework proposed by Stepan[1], and at the same time stop using the old SerializationTester, so I suggest you to update your patch about the test. Any problem, please let me know, thank you.
[1] http://incubator.apache.org/harmony/subcomponents/classlibrary/ser_testing.html
> [classlib][luni] Method readResolve() missing in java.util.Collections.EmptySet, EmptyList and EmptyMap.
> --------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1102
> URL: http://issues.apache.org/jira/browse/HARMONY-1102
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Assigned To: Paulex Yang
> Attachments: harmony-1102.diff
>
>
> Method readResolve() missing in java.util.Collections.EmptySet,
> EmptyList and EmptyMap.The instances of "public static final Map
> EMPTY_MAP","public static final Set EMPTY_Set" and "public static final List
> EMPTY_List" should be a singleton respectively according to the following test
> cases, and should keep as a singleton respectively after de-serialization.
> JIRA testcase:
> public void test_EmptyList_Singleton() throws Exception {
> List theEmptyList = Collections.EMPTY_LIST;
> List same1 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> List same2 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> assertSame(same1, same2);
> assertSame(same1, theEmptyList);
> }
> public void test_EmptyMap_Singleton() throws Exception {
> Map theEmptyMap = Collections.EMPTY_MAP;
> Map sameMap1 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> Map sameMap2 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> assertSame(sameMap1, sameMap2);
> assertSame(sameMap1, theEmptyMap);
> }
> public void test_EmptySet_Singleton() throws Exception {
> Set theEmptySet = Collections.EMPTY_SET;
> Set sameSet1 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> Set sameSet2 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> assertSame(sameSet1, sameSet2);
> assertSame(sameSet1, theEmptySet);
> }
> JIRA test result
> RI 5.0 passes this test, but Harmony fails.
> I will attach a patch to fix this problem.
> Best regards
> Spark shen
--
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
[jira] Updated: (HARMONY-1102) [classlib][luni] Method
readResolve() missing in java.util.Collections.EmptySet, EmptyList and
EmptyMap.
Posted by "spark shen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1102?page=all ]
spark shen updated HARMONY-1102:
--------------------------------
Attachment: harmony-1102.diff
Would you please try this patch?
Best regards,
Spark Shen
> [classlib][luni] Method readResolve() missing in java.util.Collections.EmptySet, EmptyList and EmptyMap.
> --------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1102
> URL: http://issues.apache.org/jira/browse/HARMONY-1102
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Attachments: harmony-1102.diff
>
>
> Method readResolve() missing in java.util.Collections.EmptySet,
> EmptyList and EmptyMap.The instances of "public static final Map
> EMPTY_MAP","public static final Set EMPTY_Set" and "public static final List
> EMPTY_List" should be a singleton respectively according to the following test
> cases, and should keep as a singleton respectively after de-serialization.
> JIRA testcase:
> public void test_EmptyList_Singleton() throws Exception {
> List theEmptyList = Collections.EMPTY_LIST;
> List same1 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> List same2 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> assertSame(same1, same2);
> assertSame(same1, theEmptyList);
> }
> public void test_EmptyMap_Singleton() throws Exception {
> Map theEmptyMap = Collections.EMPTY_MAP;
> Map sameMap1 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> Map sameMap2 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> assertSame(sameMap1, sameMap2);
> assertSame(sameMap1, theEmptyMap);
> }
> public void test_EmptySet_Singleton() throws Exception {
> Set theEmptySet = Collections.EMPTY_SET;
> Set sameSet1 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> Set sameSet2 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> assertSame(sameSet1, sameSet2);
> assertSame(sameSet1, theEmptySet);
> }
> JIRA test result
> RI 5.0 passes this test, but Harmony fails.
> I will attach a patch to fix this problem.
> Best regards
> Spark shen
--
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
[jira] Assigned: (HARMONY-1102) [classlib][luni] Method
readResolve() missing in java.util.Collections.EmptySet, EmptyList and
EmptyMap.
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1102?page=all ]
Paulex Yang reassigned HARMONY-1102:
------------------------------------
Assignee: Paulex Yang
> [classlib][luni] Method readResolve() missing in java.util.Collections.EmptySet, EmptyList and EmptyMap.
> --------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1102
> URL: http://issues.apache.org/jira/browse/HARMONY-1102
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Assigned To: Paulex Yang
> Attachments: harmony-1102.diff
>
>
> Method readResolve() missing in java.util.Collections.EmptySet,
> EmptyList and EmptyMap.The instances of "public static final Map
> EMPTY_MAP","public static final Set EMPTY_Set" and "public static final List
> EMPTY_List" should be a singleton respectively according to the following test
> cases, and should keep as a singleton respectively after de-serialization.
> JIRA testcase:
> public void test_EmptyList_Singleton() throws Exception {
> List theEmptyList = Collections.EMPTY_LIST;
> List same1 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> List same2 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> assertSame(same1, same2);
> assertSame(same1, theEmptyList);
> }
> public void test_EmptyMap_Singleton() throws Exception {
> Map theEmptyMap = Collections.EMPTY_MAP;
> Map sameMap1 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> Map sameMap2 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> assertSame(sameMap1, sameMap2);
> assertSame(sameMap1, theEmptyMap);
> }
> public void test_EmptySet_Singleton() throws Exception {
> Set theEmptySet = Collections.EMPTY_SET;
> Set sameSet1 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> Set sameSet2 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> assertSame(sameSet1, sameSet2);
> assertSame(sameSet1, theEmptySet);
> }
> JIRA test result
> RI 5.0 passes this test, but Harmony fails.
> I will attach a patch to fix this problem.
> Best regards
> Spark shen
--
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
[jira] Resolved: (HARMONY-1102) [classlib][luni] Method
readResolve() missing in java.util.Collections.EmptySet, EmptyList and
EmptyMap.
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1102?page=all ]
Paulex Yang resolved HARMONY-1102.
----------------------------------
Resolution: Fixed
Spark, patch applied at revision r430283, thanks a lot for this enhancement, please verify that the problem is fully fixed as you expected.
> [classlib][luni] Method readResolve() missing in java.util.Collections.EmptySet, EmptyList and EmptyMap.
> --------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1102
> URL: http://issues.apache.org/jira/browse/HARMONY-1102
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Assigned To: Paulex Yang
> Attachments: harmony-1102.diff, harmony_newTestFrameWork-1102.diff
>
>
> Method readResolve() missing in java.util.Collections.EmptySet,
> EmptyList and EmptyMap.The instances of "public static final Map
> EMPTY_MAP","public static final Set EMPTY_Set" and "public static final List
> EMPTY_List" should be a singleton respectively according to the following test
> cases, and should keep as a singleton respectively after de-serialization.
> JIRA testcase:
> public void test_EmptyList_Singleton() throws Exception {
> List theEmptyList = Collections.EMPTY_LIST;
> List same1 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> List same2 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> assertSame(same1, same2);
> assertSame(same1, theEmptyList);
> }
> public void test_EmptyMap_Singleton() throws Exception {
> Map theEmptyMap = Collections.EMPTY_MAP;
> Map sameMap1 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> Map sameMap2 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> assertSame(sameMap1, sameMap2);
> assertSame(sameMap1, theEmptyMap);
> }
> public void test_EmptySet_Singleton() throws Exception {
> Set theEmptySet = Collections.EMPTY_SET;
> Set sameSet1 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> Set sameSet2 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> assertSame(sameSet1, sameSet2);
> assertSame(sameSet1, theEmptySet);
> }
> JIRA test result
> RI 5.0 passes this test, but Harmony fails.
> I will attach a patch to fix this problem.
> Best regards
> Spark shen
--
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
[jira] Commented: (HARMONY-1102) [classlib][luni] Method
readResolve() missing in java.util.Collections.EmptySet, EmptyList and
EmptyMap.
Posted by "spark shen (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1102?page=comments#action_12428304 ]
spark shen commented on HARMONY-1102:
-------------------------------------
Hi paulex, the patch works fine. Thank you.
> [classlib][luni] Method readResolve() missing in java.util.Collections.EmptySet, EmptyList and EmptyMap.
> --------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1102
> URL: http://issues.apache.org/jira/browse/HARMONY-1102
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: spark shen
> Assigned To: Paulex Yang
> Attachments: harmony-1102.diff, harmony_newTestFrameWork-1102.diff
>
>
> Method readResolve() missing in java.util.Collections.EmptySet,
> EmptyList and EmptyMap.The instances of "public static final Map
> EMPTY_MAP","public static final Set EMPTY_Set" and "public static final List
> EMPTY_List" should be a singleton respectively according to the following test
> cases, and should keep as a singleton respectively after de-serialization.
> JIRA testcase:
> public void test_EmptyList_Singleton() throws Exception {
> List theEmptyList = Collections.EMPTY_LIST;
> List same1 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> List same2 = (List) SerializationTester
> .getDeserilizedObject(theEmptyList);
> assertSame(same1, same2);
> assertSame(same1, theEmptyList);
> }
> public void test_EmptyMap_Singleton() throws Exception {
> Map theEmptyMap = Collections.EMPTY_MAP;
> Map sameMap1 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> Map sameMap2 = (Map) SerializationTester
> .getDeserilizedObject(theEmptyMap);
> assertSame(sameMap1, sameMap2);
> assertSame(sameMap1, theEmptyMap);
> }
> public void test_EmptySet_Singleton() throws Exception {
> Set theEmptySet = Collections.EMPTY_SET;
> Set sameSet1 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> Set sameSet2 = (Set) SerializationTester
> .getDeserilizedObject(theEmptySet);
> assertSame(sameSet1, sameSet2);
> assertSame(sameSet1, theEmptySet);
> }
> JIRA test result
> RI 5.0 passes this test, but Harmony fails.
> I will attach a patch to fix this problem.
> Best regards
> Spark shen
--
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