66b1731041
Motivation: PooledByteBuf.capacity(...) miss to enforce maxCapacity() and so its possible to increase the capacity of the buffer even if it will be bigger then maxCapacity(). Modifications: - Correctly enforce maxCapacity() - Add unit tests for capacity(...) calls. Result: Correctly enforce maxCapacity(). |
||
---|---|---|
.. | ||
main/java/io/netty/buffer | ||
test/java/io/netty/buffer |