Lambdas and serialization

Mark Thornton mthornton at optrak.co.uk
Wed Oct 20 00:49:41 PDT 2010


  On 19/10/2010 23:40, Bob Lee wrote:
>
> That's actually not true. If a class is serializable, its serialized form is
> part of the published API, and you are guaranteed compatibility across VMs
> and VM versions.
>
Only true if you explicitly specify the serialVersionUID. The default 
calculation includes methods which are implementation artifacts of a 
particular compiler.

Mark




More information about the lambda-dev mailing list