netty5/transport-native-epoll/src/main
Norman Maurer 5b41f3d25b
Ensure native methods for unix-native-common are only registered once. (#10932)
Motiviation:

We need to ensure we only register the methods for unix-native-common once as otherwise it may have strange side-effects.

Modifications:

- Add extra method that should be called to signal that we need to register the methods. The registration will only happen once.
- Adjust code to make use of it.

Result:

No more problems due incorrect registration of these methods.
2021-01-14 17:52:04 +01:00
..
c Ensure native methods for unix-native-common are only registered once. (#10932) 2021-01-14 17:52:04 +01:00
java/io/netty/channel/epoll Ensure native methods for unix-native-common are only registered once. (#10932) 2021-01-14 17:52:04 +01:00