src/share/classes/java/io/ObjectOutput.java

Print this page

        

@@ -34,11 +34,11 @@
  * @see java.io.InputStream
  * @see java.io.ObjectOutputStream
  * @see java.io.ObjectInputStream
  * @since   JDK1.1
  */
-public interface ObjectOutput extends DataOutput {
+public interface ObjectOutput extends DataOutput, Closeable {
     /**
      * Write an object to the underlying storage or stream.  The
      * class that implements this interface defines how the object is
      * written.
      *