Commit 9ef68029 by Mark Wielaard Committed by Mark Wielaard

ObjectOutputStream.java (writeObject): break after calling writeClassDescriptor().

       * java/io/ObjectOutputStream.java (writeObject): break after
       calling writeClassDescriptor().

From-SVN: r69135
parent d17811fd
2003-07-09 Mark Wielaard <mark@klomp.org>
* java/io/ObjectOutputStream.java (writeObject): break after
calling writeClassDescriptor().
2003-07-09 Mark Mitchell <mark@codesourcery.com> 2003-07-09 Mark Mitchell <mark@codesourcery.com>
* gcj/array.h (JvPrimClass): Don't parenthesize the output. * gcj/array.h (JvPrimClass): Don't parenthesize the output.
......
...@@ -224,7 +224,10 @@ public class ObjectOutputStream extends OutputStream ...@@ -224,7 +224,10 @@ public class ObjectOutputStream extends OutputStream
} }
if (obj instanceof ObjectStreamClass) if (obj instanceof ObjectStreamClass)
writeClassDescriptor ((ObjectStreamClass) obj); {
writeClassDescriptor ((ObjectStreamClass) obj);
break;
}
if ((replacementEnabled || obj instanceof Serializable) if ((replacementEnabled || obj instanceof Serializable)
&& ! replaceDone) && ! replaceDone)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment