< prev index next >

test/compiler/jsr292/CreatesInterfaceDotEqualsCallInfo.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 25,40 **** /** * @test * @bug 8026124 * @summary Javascript file provoked assertion failure in linkResolver.cpp * @modules jdk.scripting.nashorn/jdk.nashorn.tools ! * @run main/othervm CreatesInterfaceDotEqualsCallInfo */ 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"); } } --- 25,43 ---- /** * @test * @bug 8026124 * @summary Javascript file provoked assertion failure in linkResolver.cpp * @modules jdk.scripting.nashorn/jdk.nashorn.tools ! * ! * @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"); } }
< prev index next >