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:
Alexander Udalov
2016-03-17 15:51:25 +03:00
parent 873cf439de
commit e915e1548c
34 changed files with 468 additions and 314 deletions
@@ -1,5 +1,5 @@
class JavaClass {
public static String get(String s) {
public static JavaClass get(JavaClass s) {
return s;
}
}
@@ -1,4 +1,4 @@
// IS_APPLICABLE: false
fun foo() {
JavaClass.<caret>get("x")
JavaClass.<caret>get(JavaClass())
}