netty5/buffer/src
Norman Maurer e01c4bce08
Fix regression in CompositeByteBuf.discard*ReadBytes() (#9068)
Motivation:

1f93bd3 introduced a regression that could lead to not have the lastAccessed field correctly null'ed out when the endOffset of the internal Component == CompositeByteBuf.readerIndex()

Modifications:

- Correctly null out the lastAccessed field in any case
- Add unit tests

Result:

Fixes regression in CompositeByteBuf.discard*ReadBytes()
2019-04-17 18:03:08 +02:00
..
main/java/io/netty/buffer Fix regression in CompositeByteBuf.discard*ReadBytes() (#9068) 2019-04-17 18:03:08 +02:00
test/java/io/netty/buffer Fix regression in CompositeByteBuf.discard*ReadBytes() (#9068) 2019-04-17 18:03:08 +02:00