netty5/common/src
Norman Maurer 3c5e677964 Add assert to ensure we not create an endless loop and fix unsafe publication
Motivation:

[#6153] reports an endless loop that existed in the Recycler, while this was fixed adding a few asserts to ensure this remains fixed is a good thing. Beside this we also should ensure this can not escape the constructor to avoid unsafe publication.

Modifications:

- Add asserts
- Fix unsafe publication

Result:

More correct code.
2017-01-11 12:14:27 +01:00
..
main Add assert to ensure we not create an endless loop and fix unsafe publication 2017-01-11 12:14:27 +01:00
test Revert "Disallow setting logger factory twice" 2016-12-21 15:14:53 +01:00