[
https://issues.redhat.com/browse/ELY-2026?page=com.atlassian.jira.plugin....
]
Ricardo Martin Camarero commented on ELY-2026:
----------------------------------------------
Yep, same result, the project uses elytron 1.12.1.Final but if you change it to current
1.x upstream the same exception is in the log.
UnsupportedOperationException in SSLEngine using jdk 251+
---------------------------------------------------------
Key: ELY-2026
URL:
https://issues.redhat.com/browse/ELY-2026
Project: WildFly Elytron
Issue Type: Bug
Components: SSL
Affects Versions: 1.10.9.Final
Reporter: Ricardo Martin Camarero
Assignee: Darran Lofthouse
Priority: Major
Some SSLEngines provided by elytron does not implement the new TLS methods that jdk-8
251+ incorporated from jdk-11. That makes some tests in the wildfly-http-client to fail
with the following exception:
{code}
12:07:31,031 ERROR (XNIO-3 I/O-1) [org.xnio.listener] <ChannelListeners.java:94>
XNIO001007: A channel event listener threw an exception: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at
io.undertow.protocols.alpn.JDK9AlpnProvider.getSelectedProtocol(JDK9AlpnProvider.java:99)
at
io.undertow.client.ALPNClientSelector$2.handleEvent(ALPNClientSelector.java:81)
at
io.undertow.client.ALPNClientSelector$2.handleEvent(ALPNClientSelector.java:77)
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
at
org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
at
io.undertow.protocols.ssl.SslConduit$SslReadReadyHandler.readReady(SslConduit.java:1211)
at
io.undertow.protocols.ssl.SslConduit$SslWriteReadyHandler.writeReady(SslConduit.java:1286)
at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:94)
at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
io.undertow.protocols.alpn.JDK9AlpnProvider.getSelectedProtocol(JDK9AlpnProvider.java:97)
... 8 more
Caused by: java.lang.UnsupportedOperationException
at
org.wildfly.security.ssl.JDKSpecific.getApplicationProtocol(JDKSpecific.java:35)
at
org.wildfly.security.ssl.AbstractDelegatingSSLEngine.getApplicationProtocol(AbstractDelegatingSSLEngine.java:166)
... 13 more
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)