netty5/buffer
Nick Hill c8f701d48c Correctly handle WrappedCompositeByteBufs in addFlattenedComponents() (#10247)
Motivation

An NPE was reported in #10245, caused by a regression introduced in
#8939. This in particular affects ByteToMessageDecoders that use the
COMPOSITE_CUMULATOR.

Modification

- Unwrap WrappedCompositeByteBufs passed to
CompositeByteBuf#addFlattenedComponents(...) method before accessing
internal components field
- Extend unit test to cover this case and ensure more of the
CompositeByteBuf tests are also run on the wrapped variant

Results

Fixes #10245
2020-05-05 13:57:22 +02:00
..
src Correctly handle WrappedCompositeByteBufs in addFlattenedComponents() (#10247) 2020-05-05 13:57:22 +02:00
pom.xml Update version number to start working on Netty 5 2018-11-20 15:49:57 +01:00