Comment Comment by paul_odin Java 7 adds java.lang.AutoCloseable (together with try-with-resources) which is essentially the same thing.http://docs.oracle.com/javase/7/docs/api/java/lang/AutoClose... parent paul_odin 14 years ago
http://docs.oracle.com/javase/7/docs/api/java/lang/AutoClose...