- JSScope getStatic() throws JSExn {
- if (staticJSScope == null) staticJSScope = new JSScope(null);
- if (staticscript == null) return staticJSScope;
+ JSScope getStatic(XWT xwt) throws JSExn {
+ if (staticScope == null) staticScope = new PerInstantiationJSScope(null, xwt, null, null);
+ if (staticscript == null) return staticScope;