[kaffe] Misc. serialization patches
Mattias.Rehnberg at home.se
Thu Nov 4 03:13:52 PST 2004
I just noticed that I made a mistake in ObjectInputStream.c. Not removing OBJECT_CLASS() from the check for static fields effectively just disabled it and made it pass my test that way. Sorry about that.
From: Guilhem Lavaux <guilhem at kaffe.org>
To: Mattias Rehnberg <Mattias.Rehnberg at home.se>
Date: Wed, 03 Nov 2004 18:46:04 +0100
Subject: Re: [kaffe] Misc. serialization patches
Mattias Rehnberg wrote:
> Refering to the document at the URL below, 'classdata' will be writen on the form 'wrclass objectAnnotation' if it has a write method instead of just 'nowrclass'. Since objectAnnotation is a least an endBlockData byte, you'll get that byte when you try to deserialize the next object in the stream.
> I found this when I tried to deserialize a stream of two Vectors written with Sun's Java, the first one deserialized ok, but the second one gave me a null reference.
> Best Regards,
Many thanks ! I have commited your fix to the GNU Classpath repository
and Kaffe's CVS.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 706 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041104/b66bc5d4/attachment-0002.obj
More information about the kaffe