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:
Tom Tromey 2007-04-19 20:50:40 +00:00
parent 06785a48be
commit 765e6a0cd4
6 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2007-04-19 Tom Tromey <tromey@redhat.com>
* gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
2007-04-18 Tom Tromey <tromey@redhat.com>
* Regenerated headers with new gjavah.

View File

@ -1,3 +1,9 @@
2007-04-19 Casey Marshall <csm@gnu.org>
PR classpath/31626:
* gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
(createSocket): New method.
2007-04-18 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/MethodHelper.java (print):

View File

@ -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);
}
}

View File

@ -72,10 +72,6 @@ private:
jlong initState(::gnu::java::awt::peer::gtk::GtkComponentPeer *);
void lock();
void unlock();
public:
virtual void dispose();
private:
void disposeSurface(jlong);
public: // actually protected
virtual jlong initFromVolatile(jlong, jint, jint);
private:

View File

@ -51,6 +51,7 @@ public:
virtual ::gnu::javax::net::ssl::provider::SSLSocketImpl * SSLSocketFactoryImpl$createSocket(::java::lang::String *, jint, ::java::net::InetAddress *, jint);
virtual ::gnu::javax::net::ssl::provider::SSLSocketImpl * SSLSocketFactoryImpl$createSocket(::java::net::InetAddress *, jint);
virtual ::gnu::javax::net::ssl::provider::SSLSocketImpl * SSLSocketFactoryImpl$createSocket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint);
virtual ::java::net::Socket * createSocket();
virtual ::java::net::Socket * createSocket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint);
virtual ::java::net::Socket * createSocket(::java::net::InetAddress *, jint);
virtual ::java::net::Socket * createSocket(::java::lang::String *, jint, ::java::net::InetAddress *, jint);