Lambdas and serialization
tom.hawtin at oracle.com
tom.hawtin at oracle.com
Wed Oct 20 05:49:02 PDT 2010
On 20/10/2010 08:54, Alessio Stalla wrote:
> True, for user-defined classes. But for implementation-defined
> classes, you don't have any guarantee. In fact if you look at the
> documentation for Swing components, which are serializable, you'll
> find a big disclaimer along the lines of "only use serialization for
> short-term storage".
Swing is a special case. Hence that documentation, and the absence of
Swing from the Serialized Form documentation (not that the Serialized
Form documentation is that precise).
http://download.oracle.com/javase/6/docs/api/serialized-form.html
Tom
More information about the lambda-dev
mailing list