netty5/transport-native-kqueue/src/main
Norman Maurer d77bdeaa7d
Fix ClassCastException and native crash when using kqueue transport. (#8665)
Motivation:

How we did the mapping from native code to AbstractKQueueChannel was not safe and could lead to heap corruption. This then sometimes produced ClassCastExceptions or could also lead to crashes. This happened sometimes when running the testsuite.

Modifications:

Use a Map for the mapping (just as we do in the native epoll transport).

Result:

No more heap corruption / crashes.
2018-12-19 12:13:56 +01:00
..
c Fix ClassCastException and native crash when using kqueue transport. (#8665) 2018-12-19 12:13:56 +01:00
java/io/netty/channel/kqueue Fix ClassCastException and native crash when using kqueue transport. (#8665) 2018-12-19 12:13:56 +01:00