[kaffe] Bug in java.io.NotActiveException: defaultWriteObject called by non-active class and/or object ?
gerard.basler at starticket.ch
Wed Jan 14 02:39:03 PST 2004
>From Sun's Java 1.4 doc:
"This may only be called from the writeObject method of the class being
serialized. It will throw the NotActiveException if it is called
I have a class with the following method:
private void writeObject(java.io.ObjectOutputStream out) throws
This will throw the following exception when run:
java.io.NotActiveException: defaultWriteObject called by non-active
class and/or object
When I run without any exceptino under the Sun's vm.
I took a look at the code of Kaffe's java classes and it looks like this
doesn't happen if I call writeObject(Object obj) of
My question is now:
Is this a bug or not? There doesn't seem to be any obligation to call
writeObject(Object obj) before one can use defaultWriteObject() from
Thanks for your help.
More information about the kaffe