From 1fb5113277ddc2c1bc2559f283df3f25bd2727b9 Mon Sep 17 00:00:00 2001 From: Ryan Schmitt Date: Wed, 15 Jul 2026 14:44:24 -0700 Subject: [PATCH] Upgrade Conscrypt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, we depend on Conscrypt 2.5.2. The most recent release is version 2.6.1, which adds aarch64 native libraries for both Mac and Linux: | | 2.5.2 | 2.6.1 | |-----------------|-------|-------| | Windows x86 | ✅ | | | Windows x86_64 | ✅ | ✅ | | Windows aarch64 | | | | Mac x86_64 | ✅ | ✅ | | Mac aarch64 | | ✅ | | Linux x86_64 | ✅ | ✅ | | Linux aarch64 | | ✅ | This change upgrades to the latest version and updates `AlpnTests` to ensure Conscrypt test coverage on all supported platforms. --- .../test/java/org/apache/hc/core5/testing/nio/AlpnTests.java | 5 +++-- pom.xml | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/AlpnTests.java b/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/AlpnTests.java index 30652765d..c60d2b0b3 100644 --- a/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/AlpnTests.java +++ b/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/AlpnTests.java @@ -36,6 +36,7 @@ import org.junit.jupiter.api.condition.DisabledOnOs; import org.junit.jupiter.api.condition.EnabledForJreRange; import org.junit.jupiter.api.condition.JRE; +import org.junit.jupiter.api.condition.OS; import org.junit.jupiter.api.parallel.Isolated; class AlpnTests { @@ -54,7 +55,7 @@ public OracleJSSEAlpnTest() throws Exception { @Nested @Isolated @DisplayName("ALPN Conscrypt (Java 9 or newer)") - @DisabledOnOs(architectures = "aarch64") + @DisabledOnOs(value = OS.WINDOWS, architectures = "aarch64") @EnabledForJreRange(min = JRE.JAVA_9) class ConscryptJSSEAlpnTest extends AlpnTest { @@ -67,7 +68,7 @@ public ConscryptJSSEAlpnTest() throws Exception { @Nested @Isolated @DisplayName("ALPN Conscrypt (Conscrypt specific TLS strategies)") - @DisabledOnOs(architectures = "aarch64") + @DisabledOnOs(value = OS.WINDOWS, architectures = "aarch64") class ConscryptJSSEAndStrategiesAlpnTest extends AlpnTest { public ConscryptJSSEAndStrategiesAlpnTest() throws Exception { diff --git a/pom.xml b/pom.xml index b0d02beeb..6bf72cf0a 100644 --- a/pom.xml +++ b/pom.xml @@ -74,7 +74,7 @@ true ${maven.compiler.source} - 2.5.2 + 2.6.1 5.14.4 5.0.0 4.11.0 @@ -448,4 +448,4 @@ - \ No newline at end of file +