[kaffe] Bug [CVS Version]: RMI/Object serialization

Dalibor Topic robilad@yahoo.com
Mon Apr 14 08:37:02 2003


Salut Hervé,

--- Hervé_Roussain <Herve.Roussain@univ-ubs.fr> wrote:

> There's a 'java.io.StreamCorruptedException: failed to read 
> endblockdata' when I'm using RMI.
> 
> It seems that the bug comes from objects serialization. I've tried to 
> replace Kaffe's RMI implementation with Classpath's one: there's no 
> change (i.e. the bug remains the same).

Does the bug occur when you use an older version of serialization?

> I noticed that there's a comment in java.io.ObjectStreamClass with a big 
> todo list...
> 
> So I've got a few questions:
> 1) Why did this class changed from version 1.11 (of the file) ?
> 2) Who remembered that this TODO list (and planned to work on it) ?

See http://www.kaffe.org/pipermail/kaffe/2002-October/009104.html

> 3) What version should be in Kaffe 1.1.0: the old version (1.11) which 
> worked "not so bad", or a corrected version of the new one ?

preferably a corrected version of the new one.
 
> The attached zipfile contains code from Sun's RMI tutorial (compiled 
> with JDK 1.4) (if you want more info about the files, look at 
> http://java.sun.com/docs/books/tutorial/rmi/index.html)

thanks, I'll have a look at it.

cheers,
dalibor topic

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com