[jdk21u-dev] RFR: 8326233: Utils#copySSLParameters loses needClientAuth Setting

Satyen Subramaniam ssubramaniam at openjdk.org
Mon May 5 16:30:50 UTC 2025


On Tue, 8 Apr 2025 18:18:20 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:

> Backporting JDK-8326233: Utils#copySSLParameters loses needClientAuth Setting. When the java.net.HttpClient.Builder is configured with a SSLParameters instance whose needClientAuth is set to true, then it is expected that the HttpClient that's built from such a builder will have its SSLParameters with needClientAuth as true and wantClientAuth as false. This change fixes a bug in the internal implementation of a the HttpClient which leads to the value for needClientAuth was getting reset to false. Adds test for expected behavior. Ran GHA Sanity Checks, local Tier 1 and 2 tests. Patch is clean.

Since this is low priority, closing for now

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1618#issuecomment-2851551485


More information about the jdk-updates-dev mailing list