Hi All,
I am trying to use ALPN in Netty with OpenJDK 8u252. Apparently this version of openJDK has backported the Java 9 ALPN APIs so the Jetty ALPN stuff shouldn't be necessary.
However, when I try and start a Netty based server using OpenJDK 8u252 I get the following exception:
java.lang.NoClassDefFoundError: org/eclipse/jetty/alpn/ALPN$Provider
at io.netty.handler.ssl.JettyAlpnSslEngine.newServerEngine(JettyAlpnSslEngine.java:60)
at io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$AlpnWrapper.wrapSslEngine(JdkAlpnApplicationProtocolNegotiator.java:141)
at io.netty.handler.ssl.JdkSslContext.configureAndWrapEngine(JdkSslContext.java:360)
at io.netty.handler.ssl.JdkSslContext.newEngine(JdkSslContext.java:330)
I.e. the Netty code still seems to want to use the Jetty stuff. Any thoughts on how I configure Netty correctly so it doesn't look for the Jetty ALPN stuff when I know I'm using OpenJDK 8u252?
So I guess this must be possible somehow.