[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: PR libgcj/17079 - java.util.logging.Handler.isLoggable
From: |
Bryce McKinlay |
Subject: |
[cp-patches] FYI: PR libgcj/17079 - java.util.logging.Handler.isLoggable() fix |
Date: |
Wed, 18 Aug 2004 11:50:23 -0400 |
User-agent: |
Mozilla Thunderbird 0.5 (X11/20040626) |
I'm checking this in. Events are loggable if their log level is greater
or equal to the log threshold. We were discarding events which equaled
the threshold.
Bryce
2004-08-18 Bryce McKinlay <address@hidden>
PR libgcj/17079
* java/util/logging/Handler.java (isLoggable): Accept record if its
log level equals the threshold level. From Robin Green.
Index: Handler.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/logging/Handler.java,v
retrieving revision 1.3
diff -u -r1.3 Handler.java
--- Handler.java 23 Apr 2004 06:36:06 -0000 1.3
+++ Handler.java 18 Aug 2004 15:42:56 -0000
@@ -378,7 +378,7 @@
*/
public boolean isLoggable(LogRecord record)
{
- if (record.getLevel().intValue() <= level.intValue())
+ if (record.getLevel().intValue() < level.intValue())
return false;
if (filter != null)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: PR libgcj/17079 - java.util.logging.Handler.isLoggable() fix,
Bryce McKinlay <=