@@ -34,11 +34,11 @@ * @see java.io.InputStream * @see java.io.ObjectOutputStream * @see java.io.ObjectInputStream * @since JDK1.1 */ -public interface ObjectInput extends DataInput { +public interface ObjectInput extends DataInput, Closeable { /** * Read and return an object. The class that implements this interface * defines where the object is "read" from. * * @return the object read from the stream