New J2K: fix existing test data

This commit is contained in:
Ilya Kirillov
2019-04-22 15:11:42 +03:00
parent 101ae75b8c
commit d2a3d00548
28 changed files with 119 additions and 154 deletions
@@ -1,8 +1,6 @@
// ERROR: Unresolved reference: clone
// ERROR: Unresolved reference: finalize
package test
internal class Test : Base() {
internal class Test : Base(), Cloneable {
override fun hashCode(): Int {
return super.hashCode()
}
@@ -26,7 +24,7 @@ internal class Test : Base() {
}
}
internal open class Base {
internal open class Base : Cloneable {
override fun hashCode(): Int {
return super.hashCode()
}
@@ -36,7 +34,7 @@ internal open class Base {
}
@Throws(CloneNotSupportedException::class)
protected open fun clone(): Any {
override fun clone(): Any {
return super.clone()
}