struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Rees <j...@alpsgiken.gr.jp>
Subject Re: [OT] Not spam...I swear--
Date Wed, 22 Jan 2003 01:50:32 GMT
> 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 <joel@alpsgiken.gr.jp>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message