test/javax/script/StringWriterPrintTest.java

Print this page

        

@@ -23,10 +23,11 @@
 
 /*
  * @test
  * @bug 6759414
  * @summary javascript engine can not write to StringWriter.
+ * @run main/othervm -Djava.awt.headless=true StringWriterPrintTest
  */
 
 import javax.script.*;
 import java.io.*;