netty5/buffer
Norman Maurer 1eabb752c0 Fix NPE that was encounter by debugger (will never happen in real code). (#8992)
Motivation:

We synchronize on the chunk.arena when produce the String returned by PoolSubpage.toString() which may raise a NPE when chunk == null. Chunk == null for the head of the linked-list and so a NPE may raised by a debugger. This NPE can never happen in real code tho as we never access toString() of the head.

Modifications:

Add null checks and so fix the possible NPE

Result:

No NPE when using a debugger and inspect the PooledByteBufAllocator.
2019-04-01 19:44:45 +02:00
..
src Fix NPE that was encounter by debugger (will never happen in real code). (#8992) 2019-04-01 19:44:45 +02:00
pom.xml Update version number to start working on Netty 5 2018-11-20 15:49:57 +01:00