McKoi db error
Geert Bevin
gbevin@uwyn.com
Sat Mar 22 08:28:00 GMT 2003
Tom Tromey wrote:
> If readObject and writeObject aren't implemented, all serialization
> implementations are required to fall back on the default behavior.
> Are you saying that libgcj doesn't do this in some situation?
Yes, exactly. In certain cases when the writeObject method is not
implemented and the readObject method is. I've attached a testcase of
the bug.
> That would be a libgcj bug.
It feels like it.
> I don't know of any java.io bugs that would cause this behavior.
> It is possible that you've run into a serialization bug, however.
> The easiest way to tell would be to try to reduce it to a simple test
I'm communicating with the author, but it's extremely tedious to find
since there's a *lot* of code in between the writing and the reading
that fails. I'll keep you posted though.
> case. You could also look through gnats to see if there are other
> serialization bugs; maybe you've run into a known one. I'm afraid
> this is an area that hasn't gotten a lot of attention in the past.
Ok, thanks for the help.
Geert Bevin
--
Geert Bevin Uwyn
"Use what you need" Lambermontlaan 148
http://www.uwyn.com 1030 Brussels
gbevin@uwyn.com Tel & Fax +32 2 245 41 06
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SerializationBug.java
URL: <http://gcc.gnu.org/pipermail/java/attachments/20030322/6d0944ab/attachment.ksh>
More information about the Java
mailing list