netty5/common
Norman Maurer 0dc71cee3a
DefaultPromise.getNow() does not correctly handle DefaultPromise.setUncancellable() (#8154)
Motivation:

We do not correctly check for previous calles of setUncancellable() in getNow() which may result in ClassCastException as we incorrectly return the internally UNCANCELLABLE object and not null if setUncancellable() we as called before.

Modifications:

Correctly check for UNCANCELLABLE and add unit test.

Result:

Fixes https://github.com/netty/netty/issues/8135.
2018-07-27 01:55:21 +08:00
..
src DefaultPromise.getNow() does not correctly handle DefaultPromise.setUncancellable() (#8154) 2018-07-27 01:55:21 +08:00
pom.xml [maven-release-plugin] prepare for next development iteration 2018-07-11 15:37:40 +00:00