This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/17079] New: [PATCH] Log messages whose logging level is equal to the threshold discarded by java.util.logging.Handler
- From: "greenrd at greenrd dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 18 Aug 2004 11:58:52 -0000
- Subject: [Bug libgcj/17079] New: [PATCH] Log messages whose logging level is equal to the threshold discarded by java.util.logging.Handler
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
There is a typo in java/util/logging/Handler.java. To be consistent with the
javadoc comment, which requires log messages whose log level is AT the log
threshold to be accepted, apply this patch:
--- libjava/java/util/logging/Handler.java~ 2004-08-18 12:57:00.000000000 +0100
+++ libjava/java/util/logging/Handler.java 2004-08-18 12:56:21.000000000 +0100
@@ -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)
--
Summary: [PATCH] Log messages whose logging level is equal to the
threshold discarded by java.util.logging.Handler
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: greenrd at greenrd dot org
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17079