diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 61d91fa..834c5db 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -17,6 +17,9 @@ --> +TODO - rework notes to incorporate: Changes since 1.1.1 +LOGGING-130 - Potential missing privileged block for class loader + $Id$ Commons Logging Package diff --git a/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java b/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java index 7144dd8..44d003c 100644 --- a/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java +++ b/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java @@ -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;