提交 48420d8d 编写于 作者: I iignatyev

8038931: [TESTBUG] Several regression tests fail to compile in JDK 8u20 nightly build

Reviewed-by: coffeys
上级 57fe5e2c
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
package jdk.testlibrary; package jdk.testlibrary;
import java.util.Objects;
/** /**
* Asserts that can be used for verifying assumptions in tests. * Asserts that can be used for verifying assumptions in tests.
* *
...@@ -194,7 +196,7 @@ public class Asserts { ...@@ -194,7 +196,7 @@ public class Asserts {
msg = Objects.toString(msg, "assertSame") msg = Objects.toString(msg, "assertSame")
+ ": expected " + Objects.toString(lhs) + ": expected " + Objects.toString(lhs)
+ " to equal " + Objects.toString(rhs); + " to equal " + Objects.toString(rhs);
fail(msg); throw new RuntimeException(msg);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册