> Ehh... Externalizable extends Serializable, so it still holds that only
> objects of class that - directly or indirectly - implement Serializable can
> be serialized.

Darn. And here I thought I had a good excuse to waste an afternoon.

> As for placing an otherwise non-serializable object into an array, and then
> serializing the array: you'll still get a java.io.NotSerializableException
> as soon as the serialization machinery encounters the first component of the
> array that isn't serializable. If objects of any class were serializable,
> this exception class needn't exist.

Well, you do have to extend the class ... 

-- 
Joel Rees <[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to