2002/05/05 08:37:32
[org.ibex.core.git] / src / org / xwt / plat / Java12.java
index 0036405..6d21ccc 100644 (file)
@@ -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);