[Bug libgcj/14144] Serialisation bug with abstract classes

gcc at pcedev dot com gcc-bugzilla@gcc.gnu.org
Thu Feb 16 10:47:00 GMT 2006



------- 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



More information about the Java-prs mailing list