public Object get(Object name) { return box.get(name); }
public void put(Object name, Object value) { box.put(name, value, false, this); }
public Object[] keys() { return box.keys(); }
- public Object callMethod(Object method, JS.Array args, boolean justChecking) { return box.callMethod(method,args,justChecking); }
+ public Object callMethod(Object method, JS.Array args, boolean justChecking) {
+ return ((Box)box).callMethod(method,args,justChecking);
+ }
}
/** returns an InputStream to the builtin xwar */
protected InputStream _getBuiltinInputStream() {
- return Platform.class.getClassLoader().getResourceAsStream("org/xwt/builtin.xwar");
+ return new ByteArrayInputStream(org.bouncycastle.util.encoders.Base64.decode(org.xwt.Builtin.encoded));
}
/** returns the value of the environment variable key, or null if no such key exists */