Details
Description
org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase tests fail with security manager enabled when running on OpenJDK 17.
org.junit.ComparisonFailure: expected:<Response sent:HTTP/[2.0]> but was:<Response sent:HTTP/[1.1]> at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.performSimpleTest(SNICombinedWithALPNTestCase.java:273) at org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.testHttpsViaIp(SNICombinedWithALPNTestCase.java:232) ...
It works on Oracle JDK 17.
It's probably not a test issue as I have tried to satisfy permissions requested by the deployment with no luck.
# OpenJDK where it fails $ java -version openjdk version "17.0.1" 2021-10-19 LTS OpenJDK Runtime Environment 21.9 (build 17.0.1+12-LTS) OpenJDK 64-Bit Server VM 21.9 (build 17.0.1+12-LTS, mixed mode, sharing) # Oracle JDK where it passes $ java -version openjdk version "17.0.1" 2021-10-19 OpenJDK Runtime Environment (build 17.0.1+12-39) OpenJDK 64-Bit Server VM (build 17.0.1+12-39, mixed mode, sharing)
Attachments
Issue Links
- is cloned by
-
JBEAP-23684 SNICombinedWithALPNTestCase fails with security manager on OpenJDK 17
-
- Resolved
-