Minor. Update test data to support Corretto JVM 11

This commit is contained in:
Mikhail Bogdanov
2020-04-20 16:53:06 +02:00
parent 38bfcc7ac6
commit d83a35d898
5 changed files with 21 additions and 15 deletions
@@ -21,7 +21,7 @@ fun box(): String {
return "Link error expected"
}
catch (e: java.lang.UnsatisfiedLinkError) {
if (e.message != "C.foo()V") return "Fail 1: " + e.message
if (e.message != "C.foo()V" && e.message != "'void C.foo()'") return "Fail 1: " + e.message
}
return "OK"