test/javax/script/Test2.java

Print this page

        

@@ -23,10 +23,11 @@
 
 /*
  * @test
  * @bug 6249843
  * @summary Test exposing a Java object to script
+ * @run main/othervm -Djava.awt.headless=true Test2
  */
 
 import javax.script.*;
 import java.io.*;