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
+2 -1
View File
@@ -15,7 +15,8 @@ fun box(): String {
return "Link error expected on object"
}
catch (e: java.lang.UnsatisfiedLinkError) {
if (e.message != "foo.TopLevelKt.bar(JLjava/lang/String;)D") return "Fail 1: " + e.message
if (e.message != "foo.TopLevelKt.bar(JLjava/lang/String;)D" &&
e.message != "'double foo.TopLevelKt.bar(long, java.lang.String)'") return "Fail 1: " + e.message
}
return "OK"