< prev index next >
test/compiler/jsr292/CreatesInterfaceDotEqualsCallInfo.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
@@ -25,16 +25,19 @@
/**
* @test
* @bug 8026124
* @summary Javascript file provoked assertion failure in linkResolver.cpp
* @modules jdk.scripting.nashorn/jdk.nashorn.tools
- * @run main/othervm CreatesInterfaceDotEqualsCallInfo
+ *
+ * @run main/othervm compiler.jsr292.CreatesInterfaceDotEqualsCallInfo
*/
+package compiler.jsr292;
+
public class CreatesInterfaceDotEqualsCallInfo {
public static void main(String[] args) throws java.io.IOException {
- String[] jsargs = { System.getProperty("test.src", ".") +
- "/createsInterfaceDotEqualsCallInfo.js" };
+ String[] jsargs = {System.getProperty("test.src", ".") +
+ "/createsInterfaceDotEqualsCallInfo.js"};
jdk.nashorn.tools.Shell.main(System.in, System.out, System.err, jsargs);
System.out.println("PASS, did not crash running Javascript");
}
}
< prev index next >