j2k: Generate class literals in throws

This commit is contained in:
Denis Zharkov
2015-04-20 19:55:59 +03:00
parent 5ce4f4cad1
commit 036f31f36b
13 changed files with 28 additions and 22 deletions
@@ -1,7 +1,7 @@
import java.io.*
public class C {
throws(javaClass<IOException>())
throws(IOException::class)
fun foo() {
ByteArrayInputStream(ByteArray(10)).use { stream ->
// reading something