Add JVM target bytecode version 20

#KT-57495 Fixed
This commit is contained in:
Alexander Udalov
2023-03-21 23:16:17 +01:00
committed by Space Team
parent 7aeca2fda0
commit 37c776b233
9 changed files with 12 additions and 9 deletions
@@ -22,7 +22,7 @@ fun box() : String {
y
return "FAIL 4"
} catch(t: Error) {
if (t.cause != null) return "FAIL 5"
// On JVM < 20, t.cause is null, but on JVM >= 20, it's ExceptionInInitializerError.
}
return "OK"
}