netty5/transport-native-kqueue
Norman Maurer 251bb1a739 Not use safeRelease(...) but release(...) to release non-readable holders to ensure we not mask errors.
Motivation:

AbstractChannel attempts to "filter" messages which are written [1]. A goal of this process is to copy from heap to direct if necessary. However implementations of this method [2][3] may translate a buffer with 0 readable bytes to EMPTY_BUFFER. This may mask a user error where an empty buffer is written but already released.

Modifications:

Replace safeRelease(...) with release(...) to ensure we propagate reference count issues.

Result:

Fixes [#7383]
2017-12-04 20:38:35 +01:00
..
src Not use safeRelease(...) but release(...) to release non-readable holders to ensure we not mask errors. 2017-12-04 20:38:35 +01:00
pom.xml Adding stable JDK9 module names that follow reverse-DNS style 2017-11-29 11:50:24 +01:00