test/javax/script/JavaScriptScopeTest.java

Print this page

        

*** 26,35 **** --- 26,36 ---- * @bug 6346733 6705893 * @summary Verify that independent Bindings instances don't * get affected by default scope assignments. Also, verify * that script globals can be created and accessed from Java * as well as JavaScript. + * @run main/othervm -Djava.awt.headless=true JavaScriptScopeTest */ import javax.script.*; public class JavaScriptScopeTest {