:58 PM
Subject: Re: svn commit: r785552 - in
/commons/proper/math/trunk/src:
java/org/apache/commons/math/complex/Complex.java
site/xdoc/changes.xml
- Phil Steitz phil.ste...@gmail.com a écrit :
Sorry if I am being dense here. What serialization
@commons.apache.org
Sent: Wednesday, June 17, 2009 2:58 PM
Subject: Re: svn commit: r785552 - in
/commons/proper/math/trunk/src:
java/org/apache/commons/math/complex/Complex.java
site/xdoc/changes.xml
- Phil Steitz phil.ste...@gmail.com a écrit
- Bill Barker billwbar...@verizon.net a écrit :
- Original Message -
From: luc.maison...@free.fr
To: Commons Developers List dev@commons.apache.org
Sent: Wednesday, June 17, 2009 2:58 PM
Subject: Re: svn commit: r785552 - in /commons/proper/math/trunk/src:
java/org/apache
: r785552 - in /commons/proper/math/trunk/src:
java/org/apache/commons/math/complex/Complex.java
site/xdoc/changes.xml
- Phil Steitz phil.ste...@gmail.com a écrit :
Sorry if I am being dense here. What serialization problem do the
new
fields cause, exactly? The class
/trunk/src:
java/org/apache/commons/math/complex/Complex.java
site/xdoc/changes.xml
- Phil Steitz phil.ste...@gmail.com a écrit :
Sorry if I am being dense here. What serialization problem do the
new
fields cause, exactly? The class is immutable and they are set
The Complex class is still Serializable and should remain so. This change adds
two fields that seem not good candidate to serialization. Would'nt it be better
to mark these fields as transient and reset them at deserialization time in a
new readObject method ?
Luc
- pste...@apache.org a
Sorry if I am being dense here. What serialization problem do the new
fields cause, exactly? The class is immutable and they are set by the
constructor.
On 6/17/09, luc.maison...@free.fr luc.maison...@free.fr wrote:
The Complex class is still Serializable and should remain so. This change
adds
- Phil Steitz phil.ste...@gmail.com a écrit :
Sorry if I am being dense here. What serialization problem do the new
fields cause, exactly? The class is immutable and they are set by the
constructor.
It takes more space to store. If someone uses serialization to store or send a
bunch of
- Original Message -
From: luc.maison...@free.fr
To: Commons Developers List dev@commons.apache.org
Sent: Wednesday, June 17, 2009 2:58 PM
Subject: Re: svn commit: r785552 - in /commons/proper/math/trunk/src:
java/org/apache/commons/math/complex/Complex.java site/xdoc/changes.xml