netty5/buffer
Chris Vest 9f242d27e0
Make CompositeByteBuf throw IllegalStateException when components are missing (#11100)
Motivation:
Components in a composite buffer can "go missing" if the composite is a slice of another composite and the parent has changed its layout.

Modification:
Where we would previously have thrown a NullPointerException, we now have a null-check for the component, and we instead throw an IllegalStateException with a more descriptive message.

Result:
It's now a bit easier to understand what is going on in these situations.

Fixes #10908
2021-03-18 17:51:02 +01:00
..
src Make CompositeByteBuf throw IllegalStateException when components are missing (#11100) 2021-03-18 17:51:02 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2021-03-09 08:18:31 +00:00