3c859caf2b
Move j2k/test/tests -> j2k/tests, j2k/test/testData -> j2k/testData
26 lines
545 B
Kotlin
26 lines
545 B
Kotlin
// ERROR: Unresolved reference: clone
|
|
class X {
|
|
override fun hashCode(): Int {
|
|
return super.hashCode()
|
|
}
|
|
|
|
override fun equals(o: Any?): Boolean {
|
|
return super.equals(o)
|
|
}
|
|
|
|
override fun toString(): String {
|
|
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()
|
|
}
|
|
} |