New J2K: handle static imports from Java correctly & do not ignore imports in tests

This commit is contained in:
Ilya Kirillov
2019-05-30 18:49:21 +03:00
parent 879abdafc2
commit 3944a976df
52 changed files with 115 additions and 138 deletions
@@ -1,4 +1,3 @@
// ERROR: Unresolved reference: clone
// ERROR: Unresolved reference: finalize
internal class Test : Base() {
override fun hashCode(): Int {
@@ -43,7 +42,7 @@ internal open class Base : Cloneable {
}
@Throws(Throwable::class)
protected override fun finalize() {
protected open fun finalize() {
super.finalize()
}
}
+4 -1
View File
@@ -1,6 +1,9 @@
package test
import javaApi.*
import javaApi.JFunction0
import javaApi.JFunction1
import javaApi.JFunction2
import javaApi.MethodReferenceHelperClass
internal class Test {
fun memberFun(): Int {