hg: jdk9/dev/jdk: 8025690: Default FileHandler constructor doesn't throw NullPointerException if pattern is empty and count > 1
daniel.fuchs at oracle.com
daniel.fuchs at oracle.com
Wed Oct 1 16:17:42 UTC 2014
Changeset: 5f6451dfe823
Author: dfuchs
Date: 2014-10-01 18:16 +0200
URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/5f6451dfe823
8025690: Default FileHandler constructor doesn't throw NullPointerException if pattern is empty and count > 1
Summary: Added additional check in default constructor in order to fix the oddity and make the implementation comply with the spec.
Reviewed-by: lancea
! src/java.logging/share/classes/java/util/logging/FileHandler.java
+ test/java/util/logging/FileHandlerPatternExceptions.java
More information about the jdk9-dev-changes
mailing list