Fixed KT-5223 Converter from Java should convert "throws" in method declaration
#KT-5223 Fixed
This commit is contained in:
@@ -11,12 +11,14 @@ class X() {
|
||||
return super.toString()
|
||||
}
|
||||
|
||||
throws(javaClass<CloneNotSupportedException>())
|
||||
protected fun clone(): Any {
|
||||
return super.clone()
|
||||
}
|
||||
}
|
||||
|
||||
class Y() : Thread() {
|
||||
throws(javaClass<CloneNotSupportedException>())
|
||||
override fun clone(): Any {
|
||||
return super.clone()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user