aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorBryce McKinlay <mckinlay@redhat.com>2004-08-18 15:51:47 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2004-08-18 16:51:47 +0100
commitb4b3435ecce4606416949432e6c5454b3b174c37 (patch)
tree82fef513566d7f1ad421557864015cd4cb79c152 /libjava
parent720086cd84423764cfced1dc16b74821a9c3f3b1 (diff)
downloadgcc-b4b3435ecce4606416949432e6c5454b3b174c37.zip
gcc-b4b3435ecce4606416949432e6c5454b3b174c37.tar.gz
gcc-b4b3435ecce4606416949432e6c5454b3b174c37.tar.bz2
re PR libgcj/17079 ([PATCH] Log messages whose logging level is equal to the threshold discarded by java.util.logging.Handler)
2004-08-18 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/17079 * java/util/logging/Handler.java (isLoggable): Accept record if its log level equals the threshold level. From Robin Green. From-SVN: r86187
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog6
-rw-r--r--libjava/java/util/logging/Handler.java2
2 files changed, 7 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 0fa156d..4a91794 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
+
+ PR libgcj/17079
+ * java/util/logging/Handler.java (isLoggable): Accept record if its
+ log level equals the threshold level. From Robin Green.
+
2004-08-18 David Daney <ddaney@avtrex.com>
* java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
diff --git a/libjava/java/util/logging/Handler.java b/libjava/java/util/logging/Handler.java
index f74ed0e..0caeafb 100644
--- a/libjava/java/util/logging/Handler.java
+++ b/libjava/java/util/logging/Handler.java
@@ -378,7 +378,7 @@ h.setFormatter(h.getFormatter());</pre>
*/
public boolean isLoggable(LogRecord record)
{
- if (record.getLevel().intValue() <= level.intValue())
+ if (record.getLevel().intValue() < level.intValue())
return false;
if (filter != null)