public Win32() { }
- public void init() {
- String logfile = getTempPath() + "xwt-log.txt";
- try {
- PrintStream ps = new PrintStream(new FileOutputStream(logfile));
- System.setOut(ps);
- System.setErr(ps);
- } catch (Throwable e) {
- criticalAbort("Exception while attempting to redirect logging to " + logfile + " -- " + e);
- }
-
+ public void postInit() {
new Thread() { public void run() { natInit(); } }.start();
messagePumpStarted.block();
}
HTTP.Proxy ret = new HTTP.Proxy();
if (container[2] != null) {
- ret.proxyAutoConfigJSFunction = HTTP.Proxy.getProxyAutoConfigJSFunction(container[2]);
- if (ret.proxyAutoConfigJSFunction != null) return ret;
+ ret.proxyAutoConfigFunction = HTTP.Proxy.getProxyAutoConfigFunction(container[2]);
+ if (ret.proxyAutoConfigFunction != null) return ret;
}
if (container[0] == null) return null;