Make BlackBox tests for Java 9 generated

This commit is contained in:
Denis.Zharkov
2020-11-24 18:12:26 +03:00
parent 5d05419016
commit 059e2aab7a
12 changed files with 96 additions and 127 deletions
+1 -5
View File
@@ -31,8 +31,4 @@ fun box(): String {
}
return if (handle.getVolatile(array, index) == newValue) "OK" else "Fail"
}
fun main() {
box().let { if (it != "OK") throw AssertionError(it) }
}
}