On Thu, Mar 10, 2011 at 02:19:23PM +0000, sebb wrote:
> On 10 March 2011 14:05,  <er...@apache.org> wrote:
> > Author: erans
> > Date: Thu Mar 10 14:05:32 2011
> > New Revision: 1080231
> >
> > URL: http://svn.apache.org/viewvc?rev=1080231&view=rev
> > Log:
> > MATH-542
> > Added custom "writeObject" and "readObject" so that serialization can
> > proceed even if non-"Serializable" objects are stored (in messages
> > arguments or context values).
> >
> > Modified:
> >    
> > commons/proper/math/trunk/src/main/java/org/apache/commons/math/exception/MathRuntimeException.java
> >    
> > commons/proper/math/trunk/src/test/java/org/apache/commons/math/exception/MathRuntimeExceptionTest.java
> 
> I thought it was recommended to call defaultWriteObject() and
> defaultReadObject() ?

The purpose of custom implementations was because the default mechanism
won't work for non-Serializable objects.


Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to