Fix a bug where kotlin common classes were seen as missing dependencies

When kotlin referred to them through java signatures
Java resolver ignores expect classes

 #KT-24185 Fixed
This commit is contained in:
Pavel V. Talanov
2018-08-17 18:10:08 +02:00
parent 7087a1b3f5
commit 3a8499b10e
19 changed files with 197 additions and 2 deletions
@@ -0,0 +1,3 @@
package common
class A<T1, T2>(val t1: T1, val t2: T2)
@@ -0,0 +1,13 @@
package j1;
import common.A;
public class Use {
public static A<String, String> returnA() {
return new A<String, String>("", "");
}
public static void acceptA(A<String, String> a) {
}
}
@@ -0,0 +1,5 @@
package j1
fun j() {
Use.acceptA(Use.returnA())
}
@@ -0,0 +1,13 @@
package j2;
import common.A;
public class Use {
public static A<String, String> returnA() {
return new A<String, String>("", "");
}
public static void acceptA(A<String, String> a) {
}
}
@@ -0,0 +1,5 @@
package j2
fun j() {
Use.acceptA(Use.returnA())
}