james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r415302 - /james/server/branches/v2.3/src/java/org/apache/james/core/MailImpl.java
Date Mon, 19 Jun 2006 12:05:20 GMT
Author: norman
Date: Mon Jun 19 05:05:19 2006
New Revision: 415302

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

Modified:
    james/server/branches/v2.3/src/java/org/apache/james/core/MailImpl.java

Modified: james/server/branches/v2.3/src/java/org/apache/james/core/MailImpl.java
URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/core/MailImpl.java?rev=415302&r1=415301&r2=415302&view=diff
==============================================================================
--- james/server/branches/v2.3/src/java/org/apache/james/core/MailImpl.java (original)
+++ james/server/branches/v2.3/src/java/org/apache/james/core/MailImpl.java Mon Jun 19 05:05:19
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