This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/14144] Serialisation bug with abstract classes
- From: "gcc at pcedev dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 16 Feb 2006 10:47:52 -0000
- Subject: [Bug libgcj/14144] Serialisation bug with abstract classes
- References: <bug-14144-7924@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from gcc at pcedev dot com 2006-02-16 10:47 -------
The problem comes from the choice of the constructor during the deserialization
process. Up to now, the first non abstract, non serializable constructor in the
super classes were choosen. So it incorrectly skipped all abtract constructor
(which, in your case, is executing "set = new TreeSet();").
The contructor choice algorithm has been updated to take this choice in account
and is available in the current CVS version of classpath.
Christian, if you still have this piece of code around, can you confirm the fix
?
--
gcc at pcedev dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14144