jvm-abi-gen: Add tests for uses of private Kotlin classes from Java

This commit is contained in:
Steven Schäfer
2021-08-18 12:40:08 +02:00
committed by Alexander Udalov
parent 8de6a5224f
commit ec4d7b2bb6
16 changed files with 156 additions and 0 deletions
@@ -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