netty5/common
Johnny Lim 37267f95ce
Initialize Recycler.INITIAL_CAPACITY before invoking InternalLogger.debug() (#10836)
Motivation:

If Log4J2's `Filter` creates `Recycler.Stack` somehow, `Recycler.Stack()` will see uninitialized `Recycler.INITIAL_CAPACITY`. This has been raised originally in https://github.com/micrometer-metrics/micrometer/issues/2369.

Modification:

This PR changes to initialize `Recycler.INITIAL_CAPACITY` before invoking `InternalLogger.debug()` to avoid it.

Result:

Fixes the problem described in the "Motivation" section.
2020-12-04 14:57:06 +01:00
..
src Initialize Recycler.INITIAL_CAPACITY before invoking InternalLogger.debug() (#10836) 2020-12-04 14:57:06 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2020-11-11 05:47:51 +00:00