1
0

LOGGING-130 - Potential missing privileged block for class loader

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362978 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley
2012-07-18 15:19:22 +00:00
parent 2904fe65df
commit 57b30e333b
2 changed files with 7 additions and 2 deletions

View File

@@ -1322,7 +1322,8 @@ public class LogFactoryImpl extends LogFactory {
while (current != null) {
if (current == c2)
return c1;
current = current.getParent();
// current = current.getParent();
current = getParentClassLoader(current);
}
// scan c2's ancestors to find c1
@@ -1330,7 +1331,8 @@ public class LogFactoryImpl extends LogFactory {
while (current != null) {
if (current == c1)
return c2;
current = current.getParent();
// current = current.getParent();
current = getParentClassLoader(current);
}
return null;