[Test] Use JDK 11 instead of JDK 9 in modern jdk tests

This commit is contained in:
Dmitriy Novozhilov
2021-07-30 18:51:44 +03:00
committed by teamcityserver
parent fd537e7d5a
commit 5206b45ce3
19 changed files with 175 additions and 169 deletions
@@ -0,0 +1,9 @@
fun test(a: String, b: String?): String {
return a + "\u0001" + 2.toChar() + 3.toChar() + 4L + b + 5.0 + 6F + '7' + b + "\u0002" + 1.toChar()
}
fun box(): String {
val test = test("O", "K")
return if (test != "O\u0001\u0002\u00034K5.06.07K\u0002\u0001") "fail ${test}" else "OK"
}