[concurrency-interest] Joda-Time immutability

Mark Thornton mthornton at optrak.com
Mon Jun 20 07:09:34 EDT 2011


On 20/06/11 11:33, Stephen Colebourne wrote:
> c) Try to do something clever with serialization to read the fields in
> manually. No - can't then store the read data as the instance variable
> has to be final...
You can use reflection to write to final fields. This permitted under 
the memory model subject to certain restrictions.

Mark Thornton



More information about the Concurrency-interest mailing list