Hi,

Can anyone who understands logging please look at the patch below to see
if it makes sense?

Regards,
Jeroen

Index: java/util/logging/LogManager.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/java/util/logging/LogManager.java,v
retrieving revision 1.9
diff -u -r1.9 LogManager.java
--- java/util/logging/LogManager.java   17 Apr 2004 19:23:19 -0000
1.9
+++ java/util/logging/LogManager.java   6 Sep 2004 15:38:31 -0000
@@ -367,7 +367,7 @@
       candNameLength = candName.length();
 
       if ((candNameLength > bestNameLength)
-         && childName.startsWith(candName)
+         && childName.startsWith(candName) && childName.length() >
candNameLength
          && (childName.charAt(candNameLength) == '.'))
       {
         cand = (Logger) ((WeakReference) loggers.get(candName)).get();


_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to