Commit 9ed18377 authored by Ralph Goers's avatar Ralph Goers
Browse files

LOG4J2-2104 - LoaderUtil was improperly looping over classloaders

parent fd3a82bf
Showing with 5 additions and 1 deletion
+5 -1
......@@ -117,9 +117,10 @@ public final class LoaderUtil {
classLoaders.add(parent);
}
}
ClassLoader parent = tcl;
ClassLoader parent = tcl.getParent();
while (parent != null && !classLoaders.contains(parent)) {
classLoaders.add(parent);
parent = parent.getParent();
}
if (!classLoaders.contains(ClassLoader.getSystemClassLoader())) {
classLoaders.add(ClassLoader.getSystemClassLoader());
......
......@@ -102,6 +102,9 @@
</action>
</release>
<release version="2.11.0" date="2018-xx-xx" description="GA Release 2.11.0">
<action issue="LOG4J2-2104" dev="rgoers" type="fix">
LoaderUtil was not looping properly over classloaders.
</action>
<action issue="LOG4J2-2273" dev="rpopma" type="update" due-to="Bruno P. Kinoshita">
Documentation fix in manual page for custom configurations.
</action>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment