JVM_IR: use indy SAM conversions in jvmTarget 1.8+, fix bridges
KT-44278 KT-26060 KT-42621
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// SAM_CONVERSIONS: CLASS
|
||||
// ^ test checks reflection for synthetic classes
|
||||
// WITH_RUNTIME
|
||||
// FILE: Test.java
|
||||
|
||||
@@ -9,9 +10,10 @@ class Test {
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: test.kt
|
||||
// FILE: samLambda.kt
|
||||
|
||||
import java.lang.reflect.Method
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@Target(AnnotationTarget.FUNCTION)
|
||||
|
||||
Reference in New Issue
Block a user