+2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
+
+ * java/io/Vector.java
+ (writeObject): New function to serialized output thread safe.
+
+ * java/io/ObjectOutputStream.java
+ (writeObject): Move the assignment of the class handle to after
+ the assignment of class descriptor handle.
+
2004-11-06 Robert Schuster <thebohemian@gmx.net>
Fixes documentation and indentation
package java.util;
+import java.io.IOException;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.lang.reflect.Array;
if (index >= elementCount)
throw new ArrayIndexOutOfBoundsException(index + " >= " + elementCount);
}
+
+ /**
+ * Serializes this object to the given stream.
+ *
+ * @param s the stream to write to
+ * @throws IOException if the underlying stream fails
+ * @serialData just calls default write function
+ */
+ private synchronized void writeObject(ObjectOutputStream s)
+ throws IOException
+ {
+ s.defaultWriteObject();
+ }
+
}