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:
+3
@@ -0,0 +1,3 @@
|
||||
package common
|
||||
|
||||
class A<T1, T2>(val t1: T1, val t2: T2)
|
||||
+13
@@ -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) {
|
||||
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package j1
|
||||
|
||||
fun j() {
|
||||
Use.acceptA(Use.returnA())
|
||||
}
|
||||
+13
@@ -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) {
|
||||
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package j2
|
||||
|
||||
fun j() {
|
||||
Use.acceptA(Use.returnA())
|
||||
}
|
||||
Reference in New Issue
Block a user