I had some trouble expressing the Java\'s try-with-resources construct in Kotlin. In my understanding, every expression that is an instance of AutoClosable shou
AutoClosable
Just make sure kotlin-stdlib-jdk7.jar in classpath, it's not added by default