Handler.java (isLoggable): Check record level smaller or equal.

2003-07-18  Mark Wielaard  <mark@klomp.org>

	* java/util/logging/Handler.java (isLoggable): Check record level
	smaller or equal.

From-SVN: r69563
This commit is contained in:
Mark Wielaard 2003-07-18 16:08:38 +00:00 committed by Michael Koch
parent 2ee1067b6b
commit c26052b06b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-07-18 Mark Wielaard <mark@klomp.org>
* java/util/logging/Handler.java (isLoggable): Check record level
smaller or equal.
2003-07-17 Michael Koch <konqueror@gmx.de>
* gnu/java/awt/peer/gtk/GtkToolkit.java:

View File

@ -379,7 +379,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)