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

Daniel Fuchs dfuchs at openjdk.org
Wed Feb 4 10:21:15 UTC 2026


Changeset: d7523ec8
Branch: master
Author:    Daniel Fuchs <dfuchs at openjdk.org>
Date:      2026-02-04 10:13:41 +0000
URL:       https://git.openjdk.org/jdk/commit/d7523ec8d2255675547c0746d076efd7af5dd5af

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

Reviewed-by: jpai

! 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-changes mailing list