netty5/common/src
Xiaoyan Lin a0ed6ec06c Fix the error message in ReferenceCounted.release (#7921)
Motivation:

When a buffer is over-released, the current error message of `IllegalReferenceCountException` is `refCnt: XXX, increment: XXX`, which is confusing. The correct message should be `refCnt: XXX, decrement: XXX`.

Modifications:

Pass `-decrement` to create `IllegalReferenceCountException`.

Result:

The error message will be `refCnt: XXX, decrement: XXX` when a buffer is over-released.
2018-05-08 20:09:16 +02:00
..
main Fix the error message in ReferenceCounted.release (#7921) 2018-05-08 20:09:16 +02:00
test Fix the error message in ReferenceCounted.release (#7921) 2018-05-08 20:09:16 +02:00