7e6d1bbcfd
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()