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:
+3
@@ -37,6 +37,9 @@ class ReflectJavaClassifierType(public override val reflectType: Type) : Reflect
|
||||
classifier
|
||||
}
|
||||
|
||||
override val canonicalText: String
|
||||
get() = throw UnsupportedOperationException("Type not found: $reflectType")
|
||||
|
||||
override val presentableText: String
|
||||
get() = reflectType.toString()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user