mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Do not include kotlin-reflect at runtime by default in codegen tests
Change some tests to either include reflection or to avoid using it
This commit is contained in:
committed by
Alexander Udalov
parent
20e36438e2
commit
2564a2f91f
@@ -20,5 +20,5 @@ class MyJavaClass {}
|
||||
fun box(): String {
|
||||
val ann = MyJavaClass::class.java.getAnnotation(JavaAnn::class.java)
|
||||
if (ann == null) return "fail: cannot find JavaAnn on MyClass"
|
||||
return ann.value.simpleName!!
|
||||
return ann.value.java.simpleName!!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user