kotlin-stdlib-jdk7 It gives more information when an exception is thrown while releasing a resource : kotlin-stdlib supports this with reflection on Java 7+. kotlin-stdlib-jd7 does the same without reflection. In addition to the Closeable type, Java 7 introduces AutoCloseable.