public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/14144] Serialisation bug with abstract classes
       [not found] <bug-14144-7924@http.gcc.gnu.org/bugzilla/>
@ 2006-02-16 10:35 ` gcc at pcedev dot com
  2006-02-16 10:47 ` gcc at pcedev dot com
  2006-02-16 11:09 ` [Bug classpath/14144] " mark at gcc dot gnu dot org
  2 siblings, 0 replies; 3+ messages in thread
From: gcc at pcedev dot com @ 2006-02-16 10:35 UTC (permalink / raw)
  To: java-prs



-- 

gcc at pcedev dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |gcc at pcedev dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14144


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libgcj/14144] Serialisation bug with abstract classes
       [not found] <bug-14144-7924@http.gcc.gnu.org/bugzilla/>
  2006-02-16 10:35 ` [Bug libgcj/14144] Serialisation bug with abstract classes gcc at pcedev dot com
@ 2006-02-16 10:47 ` gcc at pcedev dot com
  2006-02-16 11:09 ` [Bug classpath/14144] " mark at gcc dot gnu dot org
  2 siblings, 0 replies; 3+ messages in thread
From: gcc at pcedev dot com @ 2006-02-16 10:47 UTC (permalink / raw)
  To: java-prs



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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug classpath/14144] Serialisation bug with abstract classes
       [not found] <bug-14144-7924@http.gcc.gnu.org/bugzilla/>
  2006-02-16 10:35 ` [Bug libgcj/14144] Serialisation bug with abstract classes gcc at pcedev dot com
  2006-02-16 10:47 ` gcc at pcedev dot com
@ 2006-02-16 11:09 ` mark at gcc dot gnu dot org
  2 siblings, 0 replies; 3+ messages in thread
From: mark at gcc dot gnu dot org @ 2006-02-16 11:09 UTC (permalink / raw)
  To: java-prs



-- 

mark at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libgcj                      |classpath
            Product|gcc                         |classpath
   Target Milestone|---                         |0.21
            Version|unknown                     |unspecified


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14144


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-16 11:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-14144-7924@http.gcc.gnu.org/bugzilla/>
2006-02-16 10:35 ` [Bug libgcj/14144] Serialisation bug with abstract classes gcc at pcedev dot com
2006-02-16 10:47 ` gcc at pcedev dot com
2006-02-16 11:09 ` [Bug classpath/14144] " mark at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).