james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r414873 - /james/server/trunk/src/java/org/apache/james/core/MailImpl.java
Date Fri, 16 Jun 2006 18:05:43 GMT
Author: norman
Date: Fri Jun 16 11:05:43 2006
New Revision: 414873

URL: http://svn.apache.org/viewvc?rev=414873&view=rev
Log:
The ObjectOutputStream in cloneSerializableObject was not get flushed. 

Modified:
    james/server/trunk/src/java/org/apache/james/core/MailImpl.java

Modified: james/server/trunk/src/java/org/apache/james/core/MailImpl.java
URL: http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/core/MailImpl.java?rev=414873&r1=414872&r2=414873&view=diff
==============================================================================
--- james/server/trunk/src/java/org/apache/james/core/MailImpl.java (original)
+++ james/server/trunk/src/java/org/apache/james/core/MailImpl.java Fri Jun 16 11:05:43 2006
@@ -610,6 +610,7 @@
         ByteArrayOutputStream b = new ByteArrayOutputStream();
         ObjectOutputStream out = new ObjectOutputStream(b);
         out.writeObject(o);
+        out.flush();
         out.close();
         ByteArrayInputStream bi=new ByteArrayInputStream(b.toByteArray());
         ObjectInputStream in = new ObjectInputStream(bi);



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message