Fix codegen & bytecode tests after unifying exceptions in JVM backend
See KT-22275 for details
This commit is contained in:
+2
-2
@@ -17,11 +17,11 @@ fun box(): String {
|
||||
try {
|
||||
Test.callFoo()
|
||||
return "Fail 1"
|
||||
} catch (e : IllegalArgumentException) {
|
||||
} catch (e: NullPointerException) {
|
||||
if (e.message != "Parameter specified as non-null is null: method A.foo, parameter s") {
|
||||
return "Fail 2 (message: ${e.message})"
|
||||
}
|
||||
} catch (e : Throwable) {
|
||||
} catch (e: Throwable) {
|
||||
return "Fail 3 (exception class: ${e::class.simpleName})"
|
||||
}
|
||||
return "OK"
|
||||
|
||||
Reference in New Issue
Block a user