JVM_IR indy-SAM: use '-Xsam-conversions=indy' if JVM 1.8+, LV 1.5+
This commit is contained in:
committed by
TeamCityServer
parent
bf844aa8e4
commit
00a335129b
+3
-1
@@ -1,4 +1,6 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// ^ JVM_IR back-end generates SAM conversion with invokedynamic
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun box(): String {
|
||||
@@ -13,4 +15,4 @@ fun box(): String {
|
||||
throw Exception("!samJavaClass.isAnonymousClass(): '${samJavaClass.name}'")
|
||||
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user