test/javax/script/Test6.java

Print this page

        

@@ -24,10 +24,11 @@
 /*
  * @test
  * @bug 6249843 6705893
  * @summary Test basic script compilation. Value eval'ed from
  * compiled and interpreted scripts should be same.
+ * @run main/othervm -Djava.awt.headless=true Test6
  */
 
 import java.io.*;
 import javax.script.*;