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

2021-03-02 Thread Vyom Tewari
On Wed, 3 Mar 2021 04:38:47 GMT, Xue-Lei Andrew Fan 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

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

2021-03-02 Thread Xue-Lei Andrew Fan
On Tue, 16 Feb 2021 07:50:05 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. [v2]

2021-03-02 Thread Vyom Tewari
On Tue, 2 Mar 2021 20:17:25 GMT, Xue-Lei Andrew Fan wrote: >> Vyom Tewari has updated the pull request incrementally with one additional >> commit since the last revision: >> >> used List.of instead of Collections.singletonList > >

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

2021-03-02 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); >} >

Integrated: JDK-8262875: doccheck: empty paragraphs, etc in java.base module

2021-03-02 Thread Jonathan Gibbons
On Tue, 2 Mar 2021 19:35:47 GMT, Jonathan Gibbons wrote: > Please review some minor doc fixes, for issues found by _doccheck_.There > are two kinds of errors that are addressed. > > 1. Incorrect use of ``. In HTML, `` marks the *beginning* of a > paragraph. It is not a terminator, to mark

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

2021-03-02 Thread Xue-Lei Andrew Fan
On Tue, 16 Feb 2021 07:50:05 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-8262875: doccheck: empty paragraphs, etc in java.base module

2021-03-02 Thread Lance Andersen
On Tue, 2 Mar 2021 19:35:47 GMT, Jonathan Gibbons wrote: > Please review some minor doc fixes, for issues found by _doccheck_.There > are two kinds of errors that are addressed. > > 1. Incorrect use of ``. In HTML, `` marks the *beginning* of a > paragraph. It is not a terminator, to mark

Re: RFR: JDK-8262875: doccheck: empty paragraphs, etc in java.base module

2021-03-02 Thread Joe Darcy
On Tue, 2 Mar 2021 19:35:47 GMT, Jonathan Gibbons wrote: > Please review some minor doc fixes, for issues found by _doccheck_.There > are two kinds of errors that are addressed. > > 1. Incorrect use of ``. In HTML, `` marks the *beginning* of a > paragraph. It is not a terminator, to mark

Re: RFR: JDK-8262875: doccheck: empty paragraphs, etc in java.base module

2021-03-02 Thread Alan Bateman
On Tue, 2 Mar 2021 19:35:47 GMT, Jonathan Gibbons wrote: > Please review some minor doc fixes, for issues found by _doccheck_.There > are two kinds of errors that are addressed. > > 1. Incorrect use of ``. In HTML, `` marks the *beginning* of a > paragraph. It is not a terminator, to mark

RFR: JDK-8262875: doccheck: empty paragraphs, etc in java.base module

2021-03-02 Thread Jonathan Gibbons
Please review some minor doc fixes, for issues found by _doccheck_.There are two kinds of errors that are addressed. 1. Incorrect use of ``. In HTML, `` marks the *beginning* of a paragraph. It is not a terminator, to mark the end of a paragraph, or a separator to mark the boundary between

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

2021-03-02 Thread Vyom Tewari
On Tue, 2 Mar 2021 15:56:35 GMT, Daniel Fuchs wrote: >> i ran tests, it looks >> clean(https://github.com/vyommani/jdk/actions/runs/612949667) > > As far as I know this is only tier1 - so none of the network tests have been > run. I ran tier1 & tier2 tests locally on my linux vm, it was

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

2021-03-02 Thread Daniel Fuchs
On Tue, 2 Mar 2021 15:34:56 GMT, Vyom Tewari wrote: >> Did you try to run the httpclient tests? They make use of the httpserver - >> so they can also serve to test it - somewhat. >> More generally - please run jdk_net/tier2 tests. > > i ran tests, it looks >

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

2021-03-02 Thread Vyom Tewari
On Tue, 2 Mar 2021 15:03:47 GMT, Daniel Fuchs wrote: >> May be i am not sure, we may need this code change to review by security >> expert. I am setting "SNIHostName" only if "isDefaultHostnameVerifier" is >> true(If the HNV is the default from HttpsURLConnection) so there should not >> be

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

2021-03-02 Thread Daniel Fuchs
On Tue, 2 Mar 2021 14:39:43 GMT, Vyom Tewari wrote: >> src/java.base/share/classes/sun/net/www/protocol/https/HttpsClient.java line >> 569: >> >>> 567: SSLParameters paramaters = s.getSSLParameters(); >>> 568: >>>

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

2021-03-02 Thread Vyom Tewari
On Tue, 2 Mar 2021 12:43:27 GMT, Daniel Fuchs 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

Integrated: 8253100: Fix "no comment" warnings in java.base/java.net

2021-03-02 Thread Daniel Fuchs
On Wed, 24 Feb 2021 20:42:52 GMT, Daniel Fuchs wrote: > Hi, > > Please find here a change that fixes "no comment" warnings generated by > `javadoc -Xdoclint` for `java.base/java.net` This pull request has now been integrated. Changeset: 5f4bc0ac Author:Daniel Fuchs URL:

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

2021-03-02 Thread Daniel Fuchs
On Tue, 16 Feb 2021 07:50:05 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: 8252831: Correct "no comment" warnings in jdk.net module

2021-03-02 Thread Daniel Fuchs
On Tue, 2 Mar 2021 10:15:13 GMT, Patrick Concannon wrote: > Hi, > > Could someone please review my changeset that fixes the "no comment" warnings > generated by `javadoc -Xdoclint` for `java.base/jdk.net`? > > Kind regards, > Patrick LGTM - Marked as reviewed by dfuchs

Re: RFR: 8252831: Correct "no comment" warnings in jdk.net module

2021-03-02 Thread Vyom Tewari
On Tue, 2 Mar 2021 10:15:13 GMT, Patrick Concannon wrote: > Hi, > > Could someone please review my changeset that fixes the "no comment" warnings > generated by `javadoc -Xdoclint` for `java.base/jdk.net`? > > Kind regards, > Patrick LGTM - Marked as reviewed by vtewari

Re: RFR: 8252831: Correct "no comment" warnings in jdk.net module

2021-03-02 Thread Chris Hegarty
On Tue, 2 Mar 2021 10:15:13 GMT, Patrick Concannon wrote: > Hi, > > Could someone please review my changeset that fixes the "no comment" warnings > generated by `javadoc -Xdoclint` for `java.base/jdk.net`? > > Kind regards, > Patrick Marked as reviewed by chegar (Reviewer). -

RFR: 8252831: Correct "no comment" warnings in jdk.net module

2021-03-02 Thread Patrick Concannon
Hi, Could someone please review my changeset that fixes the "no comment" warnings generated by `javadoc -Xdoclint` for `java.base/jdk.net`? Kind regards, Patrick - Commit messages: - 8252831: Correct "no comment" warnings in jdk.net module Changes: