I'm checking this in on the gcc trunk, the RH 4.1 branch, and
Classpath.
This is a patch from Casey to fix PR 31626. The bug here is that we
are missing a method that Mylar uses.
Tom
Index: ChangeLog
from Casey Marshall <[EMAIL PROTECTED]>
PR classpath/31626:
* gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
(createSocket): New method.
Index: gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
===================================================================
--- gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java (revision
123959)
+++ gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java (working copy)
@@ -132,4 +132,12 @@
socket.connect(new InetSocketAddress(host, port));
return socket;
}
+
+ /* (non-Javadoc)
+ * @see javax.net.SocketFactory#createSocket()
+ */
+ @Override public Socket createSocket() throws IOException
+ {
+ return new SSLSocketImpl(contextImpl, null, -1, new Socket(), true);
+ }
}