jvm-abi-gen: Add tests for uses of private Kotlin classes from Java
This commit is contained in:
committed by
Alexander Udalov
parent
8de6a5224f
commit
ec4d7b2bb6
@@ -0,0 +1,7 @@
|
||||
package app
|
||||
|
||||
import lib.J
|
||||
|
||||
fun runAppAndReturnOk(): String {
|
||||
return if (J::class.java.annotations.size == 1) "OK" else "Fail"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package lib;
|
||||
|
||||
@A
|
||||
public class J {}
|
||||
@@ -0,0 +1,4 @@
|
||||
package lib
|
||||
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
private annotation class A
|
||||
Reference in New Issue
Block a user