Re: [classlib][luni] Strange serialized form of java.util.TreeMap (re JIRA harmony-1066)

2006-08-08 Thread Spark Shen
Hi, thank you for your information. I slightly modified my second test case and run it on JDK6-beta. public void test_HeadMap_Serializable() throws Exception { // same as before *assertNotNull(((SortedMap)outputObject).entrySet()); // This line assertNull previously.*

Re: [classlib][luni] Strange serialized form of java.util.TreeMap (re JIRA harmony-1066)

2006-08-08 Thread Oleg Khaschansky
Shall we follow RI on this odd behavior in harmony? My opinion is that we should not. But if 1.5 has deserialization issue it won't be possible to make it read SubMap, serialized by harmony, correctly. And I think this it's not a problem for us. On 8/8/06, Spark Shen [EMAIL PROTECTED] wrote:

Re: [classlib][luni] Strange serialized form of java.util.TreeMap (re JIRA harmony-1066)

2006-08-08 Thread Spark Shen
2006/8/8, Oleg Khaschansky [EMAIL PROTECTED]: Shall we follow RI on this odd behavior in harmony? My opinion is that we should not. But if 1.5 has deserialization issue it won't be possible to make it read SubMap, serialized by harmony, correctly. And I think this it's not a problem for us.

[classlib][luni] Strange serialized form of java.util.TreeMap (re JIRA harmony-1066)

2006-08-07 Thread Spark Shen
Hi: This is a long post, thanks for your patient to read it through :-) I wrote a test case as below: public void test_SubMap_Serializable() throws Exception { TreeMapInteger, Double map = new TreeMapInteger, Double(); map.put(1, 2.1); map.put(2, 3.1); map.put(3,

Re: [classlib][luni] Strange serialized form of java.util.TreeMap (re JIRA harmony-1066)

2006-08-07 Thread Oleg Khaschansky
Hi, Take a look at this: http://download.java.net/jdk6/docs/api/serialized-form.html Maybe this document will give you an idea of what are those inner classes... Of cause, in the new release serialized form may have changed. -- Oleg On 8/7/06, Spark Shen [EMAIL PROTECTED] wrote: Hi: This is

Re: [classlib][luni] Strange serialized form of java.util.TreeMap (re JIRA harmony-1066)

2006-08-07 Thread Ilya Okomin
On 8/7/06, Spark Shen [EMAIL PROTECTED] wrote: Hi: This is a long post, thanks for your patient to read it through :-) I wrote a test case as below: public void test_SubMap_Serializable() throws Exception { TreeMapInteger, Double map = new TreeMapInteger, Double(); map.put(1,