X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fplat%2FJava12.java;h=6d21cccb9ddedd9b81bf4e18e499417a140a5531;hb=fa18ff2c6785c96c00d19092338f404ad7f6240c;hp=003640551ae738468e96cb1abd592e97793e02d3;hpb=7c52b4652385c6a0d3aecc1826524e495076a07b;p=org.ibex.core.git diff --git a/src/org/xwt/plat/Java12.java b/src/org/xwt/plat/Java12.java index 0036405..6d21ccc 100644 --- a/src/org/xwt/plat/Java12.java +++ b/src/org/xwt/plat/Java12.java @@ -51,19 +51,21 @@ public class Java12 extends AWT { else return null; } catch (Throwable e) { - if (Log.on) Log.log(this, "exception while querying sun.plugin.protocol.PluginProxyHandler:"); + if (Log.on) Log.log(this, "exception while querying sun.plugin.protocol.PluginProxyHandler: " + e); if (Log.on) Log.log(this, e); return null; } }}); } - protected Socket __getSocket(String host, int port, boolean ssl) throws IOException { return super._getSocket(host, port, ssl); } - protected Socket _getSocket(final String host, final int port, final boolean ssl) throws IOException { + protected Socket __getSocket(String host, int port, boolean ssl, boolean negotiate) throws IOException { + return super._getSocket(host, port, ssl, negotiate); + } + protected Socket _getSocket(final String host, final int port, final boolean ssl, final boolean negotiate) throws IOException { return (Socket)java.security.AccessController.doPrivileged(new java.security.PrivilegedAction() { public Object run() { try { - return __getSocket(host, port, ssl); + return __getSocket(host, port, ssl, negotiate); } catch (Exception e) { if (Log.on) Log.log(Java12.class, "Error attempting to create socket"); if (Log.on) Log.log(Java12.class, e);