netty5/transport/src/test/java/io/netty/bootstrap
Norman Maurer 1740f366eb Fail fast when DefaultChannelPromise is constructed with null as Channel.
Motivation:

We should fail fast when DefaultChannelPromise is constructed with null as Channel as otherwise it will fail with a NPE once we call setSuccess / setFailure.

Modifications:

Add null check and test.

Result:

Fail fast.
2018-01-18 18:57:42 +00:00
..
BootstrapTest.java Fail fast when DefaultChannelPromise is constructed with null as Channel. 2018-01-18 18:57:42 +00:00
ServerBootstrapTest.java [#5566] Ensure using a ChannelInitializer via ServerBootstrap.handler(...) produce correct ordering. 2016-07-27 08:34:31 +02:00