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
@@ -12,14 +12,14 @@ class X {
return super.toString()
}
throws(javaClass<CloneNotSupportedException>())
throws(CloneNotSupportedException::class)
protected fun clone(): Any {
return super.clone()
}
}
class Y : Thread() {
throws(javaClass<CloneNotSupportedException>())
throws(CloneNotSupportedException::class)
override fun clone(): Any {
return super.clone()
}