[kaffe] Misc. serialization patches

Guilhem Lavaux guilhem at kaffe.org
Wed Nov 3 09:46:04 PST 2004


Mattias Rehnberg wrote:
> Hi,
> 
> 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.
> 
> http://java.sun.com/j2se/1.4.2/docs/guide/serialization/spec/protocol.html
> 
> Best Regards,
> Mattias
> 

Hi,

Many thanks ! I have commited your fix to the GNU Classpath repository 
and Kaffe's CVS.

Regards,

Guilhem.






More information about the kaffe mailing list