e915e1548c
Use the same component (NotFoundClasses) as in loading of compiled Kotlin symbols. Some tests were changed to avoid a diagnostic that is now reported when a non-found class is encountered in a signature (e.g. staticMethod.1.java where JDK seems to be not configured) #KT-10493 Fixed #KT-10820 Fixed #KT-11368 Fixed
28 lines
433 B
Kotlin
Vendored
28 lines
433 B
Kotlin
Vendored
// FILE: A.java
|
|
public class A {
|
|
public static void foo() {}
|
|
}
|
|
|
|
// FILE: 1.kt
|
|
open class B: A()
|
|
|
|
// FILE: C.java
|
|
public class C extends B {
|
|
public static void bar() {}
|
|
}
|
|
|
|
// FILE: 2.kt
|
|
class D: C() {
|
|
init {
|
|
foo()
|
|
A.foo()
|
|
B.<!UNRESOLVED_REFERENCE!>foo<!>()
|
|
C.foo()
|
|
D.<!UNRESOLVED_REFERENCE!>foo<!>()
|
|
|
|
bar()
|
|
C.bar()
|
|
D.<!UNRESOLVED_REFERENCE!>bar<!>()
|
|
}
|
|
}
|