Closed GoogleCodeExporter closed 9 years ago
A final field cannot be serialized because the value cannot be written. This
cannot
be circumvented through setAccessible(true) because the JIT can optimize final
fields
and changing the actual field might not always update the value used in
calculations
inside method bodies.
Static fields should not be serialized because they are separate from the
individual
objects that are being serialized. Deserializing a single object should not
change
the values of static fields directly.
Original comment by nathan.s...@gmail.com
on 6 Jan 2010 at 6:38
Original comment by nathan.s...@gmail.com
on 7 Apr 2010 at 2:47
Original issue reported on code.google.com by
kp86...@googlemail.com
on 30 Nov 2009 at 3:36