Motivation: We have a few classes in which we store and reuse static instances of various exceptions. When doing so it is important to also override fillInStacktrace() and so prevent the leak of the ClassLoader in the internal backtrace field. Modifications: - Add overrides of fillInStracktrace when needed - Move ThrowableUtil usage in the static methods Result: Fixes https://github.com/netty/netty/pull/10686 |
||
---|---|---|
.. | ||
main/java/io/netty/resolver/dns | ||
test |