git: openjdk/jdk26u: master: 8376031: HttpsURLConnection.getServerCertificates() throws "java.lang.IllegalStateException: connection not yet open" for the HEAD method

Ravi Reddy rreddy at openjdk.org
Thu Feb 19 08:09:14 UTC 2026


Changeset: ec7c18bf
Branch: master
Author:    Johny Jose <johny.jose at oracle.com>
Committer: Ravi Reddy <rreddy at openjdk.org>
Date:      2026-02-19 08:04:55 +0000
URL:       https://git.openjdk.org/jdk26u/commit/ec7c18bfa0dc9c73d07fc97038fc020a8d1e6607

8376031: HttpsURLConnection.getServerCertificates() throws "java.lang.IllegalStateException: connection not yet open" for the HEAD method

Reviewed-by: jpai, coffeys
Backport-of: d7523ec8d2255675547c0746d076efd7af5dd5af

! src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java
! src/java.base/share/classes/sun/net/www/protocol/https/AbstractDelegateHttpsURLConnection.java
! src/java.base/share/classes/sun/net/www/protocol/https/HttpsClient.java
+ test/jdk/sun/net/www/protocol/https/HttpsURLConnection/GetServerCertificates.java



More information about the jdk-updates-changes mailing list