netty5/buffer
Norman Maurer a2b85a306d
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:28 +02:00
..
src Fix NPE that was encounter by debugger (will never happen in real code). (#8992) 2019-04-01 19:44:28 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2019-03-08 08:55:45 +00:00