--- old/src/share/classes/java/io/ObjectInput.java 2010-07-06 18:27:23.000000000 -0700 +++ new/src/share/classes/java/io/ObjectInput.java 2010-07-06 18:27:23.000000000 -0700 @@ -36,7 +36,7 @@ * @see java.io.ObjectInputStream * @since JDK1.1 */ -public interface ObjectInput extends DataInput { +public interface ObjectInput extends DataInput, AutoCloseable { /** * Read and return an object. The class that implements this interface * defines where the object is "read" from.