--- a/hotspot/test/compiler/jsr292/CreatesInterfaceDotEqualsCallInfo.java Tue Jul 12 08:42:46 2016 +0000
+++ b/hotspot/test/compiler/jsr292/CreatesInterfaceDotEqualsCallInfo.java Tue Jul 12 18:24:48 2016 +0300
@@ -27,14 +27,17 @@
* @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" };
- jdk.nashorn.tools.Shell.main(System.in, System.out, System.err, jsargs);
- System.out.println("PASS, did not crash running Javascript");
- }
+ public static void main(String[] args) throws java.io.IOException {
+ 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");
+ }
}