Re: JavaMemoryModel: Serialization and final fields

From: Tom Cargill (cargill@sni.net)
Date: Wed Aug 25 1999 - 07:23:38 EDT


>I starting thinking about the semantics of serialization and final fields;
>it is ugly.

Consider cloning, too.

There are probably corresponding concerns with manipulating final
fields when cloning. The mechanism has much in common with serialization:
constructors are skipped, and then custom code replaces/augments
the default mechanism.

~~
http://www.sni.net/~cargill

-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel



This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:18 EDT