changeset 8633:d487949b2e97

8189851: [TESTBUG] runtime/RedefineTests/RedefineInterfaceCall.java fails Summary: modified jtreg tags and package import to work with JDK 8 Reviewed-by: vlivanov, dholmes
author dbuck
date Mon, 18 Dec 2017 18:18:10 -0500
parents 07275619e52e
children ebfd57cc21e6
files test/runtime/RedefineTests/RedefineInterfaceCall.java
diffstat 1 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/RedefineTests/RedefineInterfaceCall.java	Tue Dec 05 13:25:09 2017 -0500
+++ b/test/runtime/RedefineTests/RedefineInterfaceCall.java	Mon Dec 18 18:18:10 2017 -0500
@@ -25,16 +25,13 @@
  * @test
  * @bug 8174962
  * @summary Redefine class with interface method call
- * @library /testlibrary /test/lib
- * @modules java.base/jdk.internal.misc
- * @modules java.compiler
- *          java.instrument
- *          jdk.jartool/sun.tools.jar
+ * @library /testlibrary
+ * @build 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 I2 extends I1 {}