test/javax/script/NullUndefinedVarTest.java

Print this page

        

@@ -24,10 +24,11 @@
 /*
  * @test
  * @bug 6346732 6705893
  * @summary should be able to assign null and undefined
  * value to JavaScript global variables.
+ * @run main/othervm -Djava.awt.headless=true NullUndefinedVarTest
  */
 
 import javax.script.*;
 
 public class NullUndefinedVarTest {