This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: PR 31626
- From: Tom Tromey <tromey at redhat dot com>
- To: GCJ-patches <java-patches at gcc dot gnu dot org>
- Cc: GNU Classpath Patches <classpath-patches at gnu dot org>
- Date: 19 Apr 2007 14:21:01 -0600
- Subject: Patch: FYI: PR 31626
- Reply-to: tromey at redhat dot com
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 <csm@gnu.org>
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);
+ }
}