--- old/src/share/classes/java/lang/AutoCloseable.java 2010-08-25 15:29:26.000000000 -0700 +++ new/src/share/classes/java/lang/AutoCloseable.java 2010-08-25 15:29:26.000000000 -0700 @@ -34,8 +34,8 @@ public interface AutoCloseable { /** * Close this resource, relinquishing any underlying resources. - * This method is invoked automatically by the automatic resource - * management block construct. + * This method is invoked automatically by the {@code + * try}-with-resources statement. * *
Classes implementing this method are strongly encouraged to * be declared to throw more specific exceptions (or no exception