Make BlackBox tests for Java 9 generated
This commit is contained in:
+1
-5
@@ -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) }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user