netty5/transport-native-epoll/src/main
Roger 6138541033 Avoid repeating the same field and hiding it (#8335)
Motivation

The EpollChannelConfig (same for KQueues) and its subclasses repeatetly declare their own channel field which leads to a 3x repetition for each config instance. Given the fields are protected or package-private it's exposing the code code to "field hiding" bugs.

Modifications

Use the the existing protected channel field from the DefaultChannelConfig class and simply cast it when needed.

Result

Fixes #8331
2018-09-28 17:37:14 +02:00
..
c Don't re-arm timerfd each epoll_wait (#7816) 2018-09-11 13:38:38 +02:00
java/io/netty/channel/epoll Avoid repeating the same field and hiding it (#8335) 2018-09-28 17:37:14 +02:00