OSDN Git Service

libjava
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Apr 2007 20:50:40 +0000 (20:50 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Apr 2007 20:50:40 +0000 (20:50 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123977 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/classpath/ChangeLog
libjava/classpath/gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
libjava/classpath/lib/gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.class
libjava/gnu/java/awt/peer/gtk/ComponentGraphics.h
libjava/gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h

index 500d47c..eb74cf8 100644 (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.
index 987ac9e..777fa6d 100644 (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):
index 6a3d735..2915941 100644 (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);
+  }
 }
index 9de6329..1404374 100644 (file)
Binary files a/libjava/classpath/lib/gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.class and b/libjava/classpath/lib/gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.class differ
index fbc87a8..1f11a4b 100644 (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:
index 24ac5f9..c0263be 100644 (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);