netty5/transport-native-unix-common
Norman Maurer 968dfbb378 Preload classes before calling native OnLoad function to prevent clas… (#11215)
Motivation:

It turns out it is quite easy to cause a classloader deadlock in more recent java updates if you cause classloading while you are in native code. Because of this we should just workaround this issue by pre-load all the classes that needs to be accessed in the OnLoad function.

Modifications:

- Preload all classes that would otherwise be loaded by native OnLoad functions.

Result:

Workaround for https://github.com/netty/netty/issues/11209 and https://bugs.openjdk.java.net/browse/JDK-8266310
2021-05-03 10:23:57 +02:00
..
src Preload classes before calling native OnLoad function to prevent clas… (#11215) 2021-05-03 10:23:57 +02:00
Makefile Use netty-jni-util via maven central (#10877) 2020-12-19 10:38:39 +01:00
pom.xml Fix build for aarch64 (#11116) 2021-03-25 12:07:15 +01:00