Re: RFR: JDK-8260925: HttpsURLConnection does not work with other JSSE provider. [v4]

2021-03-03 Thread Vyom Tewari
On Wed, 3 Mar 2021 16:16:48 GMT, Xue-Lei Andrew Fan wrote: >> Vyom Tewari has updated the pull request incrementally with one additional >> commit since the last revision: >> >> reverted the overly deleted else block > > src/java.base/share/classes/sun/net/www/protocol/https/HttpsClient.java

Re: RFR: JDK-8260925: HttpsURLConnection does not work with other JSSE provider. [v4]

2021-03-03 Thread Xue-Lei Andrew Fan
On Wed, 3 Mar 2021 15:10:54 GMT, Vyom Tewari wrote: >> HttpsURLConnection, works with SunJSSE provider but does not work with other >> JSSE provider. In case of SunJSSE , HttpsURLConnection set the host name as >> follows >> >> s = (SSLSocket)serverSocket; >>if (s instanceof SSLSocketImpl)

Re: RFR: JDK-8260925: HttpsURLConnection does not work with other JSSE provider. [v4]

2021-03-03 Thread Vyom Tewari
> HttpsURLConnection, works with SunJSSE provider but does not work with other > JSSE provider. In case of SunJSSE , HttpsURLConnection set the host name as > follows > > s = (SSLSocket)serverSocket; >if (s instanceof SSLSocketImpl) { > ((SSLSocketImpl)s).setHost(host); >} >