News for hackers. Stuff that matters.
Re:Stab Language (like C#) for the JVM by callmevlad on Saturday January 05, 2013 @02:01PM (#5013600)
Notice that Closable is in the IO namespace. I think the author is saying there is no equivalent to the .Net System.IDisposable, which can be applied to any object.

Edit: See http://stackoverflow.com/questions/1165428/should-closeable-...

Re:Stab Language (like C#) for the JVM by paul_odin on Saturday January 05, 2013 @02:18PM (#5013661)
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...