re PR crypto/31626 (javax.net.SocketFactory#createSocket() throws UnsupportedOperationException)
libjava * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt. libjava/classpath 2007-04-19 Casey Marshall <csm@gnu.org> PR classpath/31626: * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java (createSocket): New method. From-SVN: r123977
This commit is contained in:
@@ -132,4 +132,12 @@ public class SSLSocketFactoryImpl extends SSLSocketFactory
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user