test/javax/script/GetInterfaceTest.java

Print this page

        

@@ -23,10 +23,11 @@
 
 /*
  * @test
  * @bug 6960211
  * @summary JavaScript engine allows creation of interface although methods not available.
+ * @run main/othervm -Djava.awt.headless=true GetInterfaceTest
  */
 
 import javax.script.*;
 
 public class GetInterfaceTest {