Fix multiple 'unresolved java classifier' errors
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
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@ public class A {
|
||||
|
||||
// FILE: B.java
|
||||
public class B extends A {
|
||||
public static vod bar() {}
|
||||
public static void bar() {}
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
@@ -48,4 +48,4 @@ class YN: Y() {
|
||||
Y.<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
YN.<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ public open class B : A {
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
// Static members
|
||||
public open fun bar(): [ERROR : Unresolved java classifier: vod]!
|
||||
public open fun bar(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -8,7 +8,7 @@ open class B: A()
|
||||
|
||||
// FILE: C.java
|
||||
public class C extends B {
|
||||
public static vod bar() {}
|
||||
public static void bar() {}
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
@@ -24,4 +24,4 @@ class D: C() {
|
||||
C.bar()
|
||||
D.<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -24,7 +24,7 @@ public open class C : B {
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
// Static members
|
||||
public open fun bar(): [ERROR : Unresolved java classifier: vod]!
|
||||
public open fun bar(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user