Hi,
Here is a patch following Mark's comment.
ChangeLog entry:
2005-12-17 Guilhem Lavaux <[EMAIL PROTECTED]>
* java/io/ObjectOutputStream.java
(writeClassDescriptor): Use two argument constructor. Reduced
line size.
Guilhem.
Index: java/io/ObjectOutputStream.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/io/ObjectOutputStream.java,v
retrieving revision 1.64
diff -u -r1.64 ObjectOutputStream.java
--- java/io/ObjectOutputStream.java 14 Dec 2005 19:37:20 -0000 1.64
+++ java/io/ObjectOutputStream.java 17 Dec 2005 16:27:09 -0000
@@ -444,7 +444,8 @@
ObjectStreamField[] fields = osc.fields;
if (fields == ObjectStreamClass.INVALID_FIELDS)
- throw new InvalidClassException("serialPersistentFields in class " +
osc.getName() + " is invalid");
+ throw new InvalidClassException
+ (osc.getName(), "serialPersistentFields is invalid");
realOutput.writeShort(fields.length);
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches