[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bugs #10383] Deserialization of an empty TreeMap fails
From: |
David Gilbert |
Subject: |
[commit-cp] [bugs #10383] Deserialization of an empty TreeMap fails |
Date: |
Tue, 14 Sep 2004 16:28:49 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114 Epiphany/1.0.7 |
This mail is an automated notification from the bugs tracker
of the project: classpath.
/**************************************************************************/
[bugs #10383] Latest Modifications:
Changes by:
David Gilbert <address@hidden>
'Date:
Tue 09/14/2004 at 20:23 (GMT)
------------------ Additional Follow-up Comments ----------------------------
I've attached a Mauve test that triggers the bug with Classpath, and passes
with Sun's JDK 1.4. I'll forward it to the mauve-patches mailing list also.
/**************************************************************************/
[bugs #10383] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10383>
Project: classpath
Submitted by: Ilya Perminov
On: Tue 09/14/2004 at 19:49
Category: inetlib
Severity: 5 - Average
Resolution: None
Privacy: Public
Assigned to: None
Status: Open
Platform Version: None
Summary: Deserialization of an empty TreeMap fails
Original Submission: Deserialization of an empty java.util.TreeMap fails with
a
NullPointerException. It happens because transient field
"root" is not initialized during deserialization. To fix:
add root = nil; to the beginning of readObject method.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Tue 09/14/2004 at 20:23 By: David Gilbert <trebligd>
I've attached a Mauve test that triggers the bug with Classpath, and passes
with Sun's JDK 1.4. I'll forward it to the mauve-patches mailing list also.
File Attachments
-------------------
-------------------------------------------------------
Date: Tue 09/14/2004 at 20:23 Name: serialization.java Size: 1.96KB By:
trebligd
Mauve test case
http://savannah.gnu.org/bugs/download.php?item_id=10383&item_file_id=1669
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10383>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/