OSDN Git Service

2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Aug 2004 15:51:47 +0000 (15:51 +0000)
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Aug 2004 15:51:47 +0000 (15:51 +0000)
PR libgcj/17079
* java/util/logging/Handler.java (isLoggable): Accept record if its
log level equals the threshold level. From Robin Green.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86187 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/util/logging/Handler.java

index 0fa156d..4a91794 100644 (file)
@@ -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 
index f74ed0e..0caeafb 100644 (file)
@@ -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)