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

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

From-SVN: r69135
This commit is contained in:
Mark Wielaard 2003-07-09 10:52:26 +00:00 committed by Mark Wielaard
parent d17811fd1a
commit 9ef68029df
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
* gcj/array.h (JvPrimClass): Don't parenthesize the output.

View File

@ -224,7 +224,10 @@ public class ObjectOutputStream extends OutputStream
}
if (obj instanceof ObjectStreamClass)
writeClassDescriptor ((ObjectStreamClass) obj);
{
writeClassDescriptor ((ObjectStreamClass) obj);
break;
}
if ((replacementEnabled || obj instanceof Serializable)
&& ! replaceDone)