jdk/src/share/classes/sun/security/ssl/SSLSocketImpl.java
changeset 5162 0dbedf4fdb8c
parent 2068 cdbc5929b91e
child 5195 dcc229e35a4e
--- a/jdk/src/share/classes/sun/security/ssl/SSLSocketImpl.java	Tue Mar 23 10:41:11 2010 +0800
+++ b/jdk/src/share/classes/sun/security/ssl/SSLSocketImpl.java	Tue Mar 23 13:54:36 2010 +0000
@@ -1840,6 +1840,11 @@
         return host;
     }
 
+    // ONLY used by HttpsClient to setup the URI specified hostname
+    synchronized public void setHost(String host) {
+        this.host = host;
+    }
+
     /**
      * Gets an input stream to read from the peer on the other side.
      * Data read from this stream was always integrity protected in