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.*
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:
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.
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,
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
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,