New J2K: fix testData
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// ERROR: Unresolved reference: clone
|
||||
// ERROR: Unresolved reference: finalize
|
||||
internal class Test : Base(), Cloneable {
|
||||
internal class Test : Base() {
|
||||
override fun hashCode(): Int {
|
||||
return super.hashCode()
|
||||
}
|
||||
@@ -43,7 +43,7 @@ internal open class Base : Cloneable {
|
||||
}
|
||||
|
||||
@Throws(Throwable::class)
|
||||
protected open fun finalize() {
|
||||
protected override fun finalize() {
|
||||
super.finalize()
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -17,7 +17,7 @@ internal class X : Cloneable {
|
||||
}
|
||||
}
|
||||
|
||||
internal class Y : Thread(), Cloneable {
|
||||
internal class Y : Thread() {
|
||||
@Throws(CloneNotSupportedException::class)
|
||||
override fun clone(): Any {
|
||||
return super.clone()
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package demo
|
||||
|
||||
internal class Test {
|
||||
fun test(vararg args: Any?) {
|
||||
fun test(vararg args: Any) {
|
||||
var args = args
|
||||
args = arrayOf(1, 2, 3)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user