OpenSslX509TrustManagerWrapper in netty-handler is not Java 6 compatible
See original GitHub issueNetty 4.y should work on Java 6, it’s not the case of the OpenSslX509TrustManagerWrapper
which fails to load the class:
java.lang.NoClassDefFoundError: Could not initialize class io.netty.handler.ssl.OpenSslX509TrustManagerWrapper
at io.netty.handler.ssl.ReferenceCountedOpenSslContext.chooseTrustManager(ReferenceCountedOpenSslContext.java:541)
at io.netty.handler.ssl.ReferenceCountedOpenSslServerContext.newSessionContext(ReferenceCountedOpenSslServerContext.java:142)
at io.netty.handler.ssl.OpenSslServerContext.<init>(OpenSslServerContext.java:350)
at io.netty.handler.ssl.OpenSslServerContext.<init>(OpenSslServerContext.java:333)
at io.netty.handler.ssl.SslContext.newServerContextInternal(SslContext.java:422)
at io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:447)
at ...
The problem is rooted in using javax.net.ssl.X509ExtendedTrustManager
which was introduced in Java 7.
The netty-handler versions with the issue: 4.1.31 - 4.1.34 (current)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Java SDK connection with Certificate Authentication issue
I try to use the latest Java SDK driver (3.2.6) to connect with ... Not sure why it is trying to use port...
Read more >Java SE 6 Compatibility - Oracle
Incompatibilities between the Java Platform, Standard Edition 6 and J2SE 5.0. Java SE 6 is strongly compatible with previous versions of the Java...
Read more >Open Source Used In Cisco Policy Suite (CPS) Software CPS ...
This document contains licenses and notices for open source software used in this product. With respect to the free/open source software listed in...
Read more >Reactor Netty Reference Guide
You do not need to read this guide in a linear fashion. ... reactor-netty-examples/src/main/java/reactor/netty/examples/documentation/tcp/ ...
Read more >Failed to load any of the given libraries: [netty-tcnative-linux ...
When i switch on debug logs it tells that "java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty-tcnative-linux- ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You’re too fast 👍 😃 I’ll check the PR in our tests. Thanks.
All our TLS tests passed on Java 6 with the fix. Well done!