Re: svn commit: r785552 - in /commons/proper/math/trunk/src: java/org/apache/commons/math/complex/Complex.java site/xdoc/changes.xml

2009-06-19 Thread sebb
: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

Re: svn commit: r785552 - in /commons/proper/math/trunk/src: java/org/apache/commons/math/complex/Complex.java site/xdoc/changes.xml

2009-06-19 Thread luc . maisonobe
@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

Re: svn commit: r785552 - in /commons/proper/math/trunk/src: java/org/apache/commons/math/complex/Complex.java site/xdoc/changes.xml

2009-06-18 Thread luc . maisonobe
- 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

Re: svn commit: r785552 - in /commons/proper/math/trunk/src: java/org/apache/commons/math/complex/Complex.java site/xdoc/changes.xml

2009-06-18 Thread Jörg Schaible
: 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

Re: svn commit: r785552 - in /commons/proper/math/trunk/src: java/org/apache/commons/math/complex/Complex.java site/xdoc/changes.xml

2009-06-18 Thread Phil Steitz
/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

Re: svn commit: r785552 - in /commons/proper/math/trunk/src: java/org/apache/commons/math/complex/Complex.java site/xdoc/changes.xml

2009-06-17 Thread luc . maisonobe
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

Re: svn commit: r785552 - in /commons/proper/math/trunk/src: java/org/apache/commons/math/complex/Complex.java site/xdoc/changes.xml

2009-06-17 Thread Phil Steitz
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

Re: svn commit: r785552 - in /commons/proper/math/trunk/src: java/org/apache/commons/math/complex/Complex.java site/xdoc/changes.xml

2009-06-17 Thread luc . maisonobe
- 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

Re: svn commit: r785552 - in /commons/proper/math/trunk/src: java/org/apache/commons/math/complex/Complex.java site/xdoc/changes.xml

2009-06-17 Thread Bill Barker
- 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