[
https://issues.redhat.com/browse/WFCORE-5133?page=com.atlassian.jira.plug...
]
Sonia Zaldana commented on WFCORE-5133:
---------------------------------------
The issue has to do with the
[
JDK8HackALPNProvider|[https://github.com/undertow-io/undertow/blob/master....
Specifically, with its use of the
[
ALPNHackSSLEngine|[https://github.com/undertow-io/undertow/blob/master/co...].
The hack tries to find the field "handshaker" in SSLEngineImpl. This class has
been refactored in JDK 8 version 261, and it no longer contains that field leading to a
failure.
Attempting to use the JDK 9 provider instead by setting the system property
"io.undertow.protocols.alpn.jdk8" to true, as suggested
[
here|[https://github.com/undertow-io/undertow/blob/master/core/src/main/j...
still does not fix the issue. Although, the JDK 9 provider is correctly loaded in the
ALPNClientSelector, the issue then seems to be in
[
AlpnOpenListener|[https://github.com/undertow-io/undertow/blob/master/cor...]
where it fails again to get the JDK 9 provider, as the class is being loaded multiple
times and the system property is not always true.
[~flavia.rainone], I was wondering whether you had any thoughts on what approach to take
to fix this? Thanks for your help.
SNICombinedWithALPNTestCase fails with oracle JDK 8 261
-------------------------------------------------------
Key: WFCORE-5133
URL:
https://issues.redhat.com/browse/WFCORE-5133
Project: WildFly Core
Issue Type: Bug
Components: Security
Reporter: Jean Francois Denise
Assignee: Sonia Zaldana
Priority: Major
Exception while using oracle JDK 261:
{{at
io.undertow.client.http.HttpClientConnection.handleError(HttpClientConnection.java:444)
at
io.undertow.client.http.HttpClientConnection.handleError(HttpClientConnection.java:439)
at
io.undertow.client.http.HttpClientConnection.initiateRequest(HttpClientConnection.java:430)
at
io.undertow.client.http.HttpClientConnection.sendRequest(HttpClientConnection.java:347)
at
org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.performSimpleTest(SNICombinedWithALPNTestCase.java:242)
at
org.jboss.as.test.integration.security.ssl.sni.SNICombinedWithALPNTestCase.testSimpleViaHostname(SNICombinedWithALPNTestCase.java:220)}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)