netty5/transport-native-unix-common-tests/src/main/java/io/netty/channel/unix/tests
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
..
DetectPeerCloseWithoutReadTest.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
IovArrayTest.java Ensure IovArray is usuable without sun.misc.Unsafe (#10870) 2020-12-16 20:46:19 +01:00
package-info.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
SocketTest.java Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00
UnixTestUtils.java Ensure native methods for unix-native-common are only registered once. (#10932) 2021-01-14 17:52:04 +01:00