[jboss-cvs] JBossAS SVN: r74558 - branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/util.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jun 13 23:08:22 EDT 2008


Author: flavia.rainone at jboss.com
Date: 2008-06-13 23:08:22 -0400 (Fri, 13 Jun 2008)
New Revision: 74558

Modified:
   branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/util/MarshalledValue.java
Log:
[JBAOP-347] Bug fixed (followed suggestion made in Jira)

Modified: branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/util/MarshalledValue.java
===================================================================
--- branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/util/MarshalledValue.java	2008-06-14 02:54:49 UTC (rev 74557)
+++ branches/Branch_AOP_1_5/aop/src/main/org/jboss/aop/util/MarshalledValue.java	2008-06-14 03:08:22 UTC (rev 74558)
@@ -26,7 +26,6 @@
 import java.io.IOException;
 import java.io.ObjectInput;
 import java.io.ObjectOutput;
-import java.io.OutputStream;
 import java.util.Arrays;
 
 /**
@@ -187,6 +186,6 @@
    public void writeExternal(ObjectOutput out) throws IOException
    {
       out.writeInt(baos.size());
-      baos.writeTo((OutputStream)out);
+      out.write(baos.toByteArray());
    }
 }




More information about the jboss-cvs-commits mailing list