New J2K: Split old j2k and new j2k tests

This commit is contained in:
Ilya Kirillov
2019-03-28 14:20:17 +03:00
committed by Ilya Kirillov
parent 02a206bf7c
commit b411e8e18e
1631 changed files with 14067 additions and 1513 deletions
+17
View File
@@ -0,0 +1,17 @@
import java.io.ByteArrayInputStream
import java.io.IOException
class C {
internal fun foo() {
try {
ByteArrayInputStream(ByteArray(10)).use { stream ->
// reading something
val c = stream.read()
println(c)
}
} catch (e: IOException) {
println(e)
}
}
}