netty5/transport-native-epoll/src
Norman Maurer 87db5803a9 Add workaround for possible classloader deadlock when trying to load JNI code (#10190)
Motivation:

netty_epoll_linuxsocket_JNI_OnLoad(...) may produce a deadlock with another thread that will load IOUtil in a static block. This seems to be a JDK bug which is not yet fixed. To workaround this we force IOUtil to be loaded from without java code before init the JNI code

Modifications:

Use Selector.open() as a workaround to load IOUtil

Result:

Fixes https://github.com/netty/netty/issues/10187
2020-04-16 08:41:36 +02:00
..
main Add workaround for possible classloader deadlock when trying to load JNI code (#10190) 2020-04-16 08:41:36 +02:00
test/java/io/netty/channel/epoll Cleanup usage of Channel*Handler (#9959) 2020-01-20 17:47:17 -08:00