提交 67a475b1 编写于 作者: D dbuck

8189851: [TESTBUG] runtime/RedefineTests/RedefineInterfaceCall.java fails

Summary: modified jtreg tags and package import to work with JDK 8
Reviewed-by: vlivanov, dholmes
上级 d85cc43f
...@@ -25,16 +25,13 @@ ...@@ -25,16 +25,13 @@
* @test * @test
* @bug 8174962 * @bug 8174962
* @summary Redefine class with interface method call * @summary Redefine class with interface method call
* @library /testlibrary /test/lib * @library /testlibrary
* @modules java.base/jdk.internal.misc * @build RedefineClassHelper
* @modules java.compiler
* java.instrument
* jdk.jartool/sun.tools.jar
* @run main RedefineClassHelper * @run main RedefineClassHelper
* @run main/othervm -javaagent:redefineagent.jar RedefineInterfaceCall * @run main/othervm -javaagent:redefineagent.jar -XX:TraceRedefineClasses=3174407 RedefineInterfaceCall
*/ */
import static jdk.testlibrary.Asserts.assertEquals; import static com.oracle.java.testlibrary.Asserts.assertEquals;
interface I1 { default int m() { return 0; } } interface I1 { default int m() { return 0; } }
interface I2 extends I1 {} interface I2 extends I1 {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册