Index: C:/harmony/trunk_0427/modules/logging/src/main/java/java/util/logging/FileHandler.java =================================================================== --- C:/harmony/trunk_0427/modules/logging/src/main/java/java/util/logging/FileHandler.java (revision 419415) +++ C:/harmony/trunk_0427/modules/logging/src/main/java/java/util/logging/FileHandler.java (working copy) @@ -450,7 +450,7 @@ if(null == pattern || "".equals(pattern)){ //$NON-NLS-1$ throw new NullPointerException("Pattern cannot be empty"); //$NON-NLS-1$ } - if (limit < 1 || count < 0) { + if (limit < 0 || count < 1) { throw new IllegalArgumentException( "The limit and count property must larger than 0 and 1, respctively"); //$NON-NLS-1$ } @@ -494,7 +494,7 @@ if(null == pattern || "".equals(pattern)){ //$NON-NLS-1$ throw new NullPointerException("Pattern cannot be empty"); //$NON-NLS-1$ } - if (limit < 1 || count < 0) { + if (limit < 0 || count < 1) { throw new IllegalArgumentException( "The limit and count property must larger than 0 and 1, respectively"); //$NON-NLS-1$ }