8282661: [BACKOUT] ByteBufferTest.java: replace endless recursion with RuntimeException in void ck(double x, double y)
Reviewed-by: chagedorn, psandoz
This commit is contained in:
parent
52471539c0
commit
603050bfe0
@ -216,10 +216,8 @@ class MyByteBuffer {
|
||||
}
|
||||
|
||||
void ck(double x, double y) {
|
||||
if (x != y) {
|
||||
throw new RuntimeException(" x = " + Double.toString(x) + ", y = " + Double.toString(y)
|
||||
+ " (x = " + Long.toHexString(Double.doubleToRawLongBits(x))
|
||||
+ ", y = " + Long.toHexString(Double.doubleToRawLongBits(y)) + ")");
|
||||
if (x == x && y == y && x != y) {
|
||||
ck(x, y);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user