test/javax/script/CauseExceptionTest.java

Print this page

        

@@ -23,10 +23,11 @@
 
 /*
  * @test
  * @bug 6869617
  * @summary RhinoScriptEngine bug : ScriptException cause not set (with fix)
+ * @run main/othervm -Djava.awt.headless=true CauseExceptionTest
  */
 
 import javax.script.*;
 import java.io.*;