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

Vyom Tewari vtewari at openjdk.java.net
Thu Mar 4 04:02:04 UTC 2021


On Wed, 3 Mar 2021 15:20:29 GMT, Vyom Tewari <vtewari at openjdk.org> wrote:

>> Vyom, can you provide, or point to a test that exercises the code paths that have been changed? And also some new test that would fail before the fix and pass after? 
>> 
>> best regards,
>> 
>> -- daniel
>
>> Vyom, can you provide, or point to a test that exercises the code paths that have been changed? And also some new test that would fail before the fix and pass after?
>> 
>> best regards,
>> 
>> -- daniel
> 
> Hi Daniel,
> 
> there are multiple test in "test/jdk/sun/net/www/protocol/https/HttpsURLConnection" which exercises the code paths that have been changed. To be more specific if you change the JSSE provider for example to "BouncyCastle" then these test will fail because host will not set for other(BC) JSSE provider.
> 
> In JDK-8260925, i put the detail instruction how to reproduce this issue. Please do let me know if you need any additional information.
> Vyom

updated the PR

-------------

PR: https://git.openjdk.java.net/jdk/pull/2583


More information about the net-dev mailing list