RFR: JDK-8260925: HttpsURLConnection does not work with other JSSE provider.
Vyom Tewari
vtewari at openjdk.java.net
Wed Mar 3 15:23:44 UTC 2021
On Wed, 3 Mar 2021 10:09:34 GMT, Daniel Fuchs <dfuchs 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
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
-------------
PR: https://git.openjdk.java.net/jdk/pull/2583
More information about the net-dev
mailing list