hg: jdk8u/jdk8u-dev/jdk: 8059269: FileHandler may throw NPE if pattern is a simple name and the lock file already exists
daniel.fuchs at oracle.com
daniel.fuchs at oracle.com
Tue Sep 30 10:32:56 UTC 2014
Changeset: 9e625f71aa62
Author: dfuchs
Date: 2014-09-29 18:56 +0200
URL: http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/9e625f71aa62
8059269: FileHandler may throw NPE if pattern is a simple name and the lock file already exists
Summary: NPE may be thrown when Path.getParentPath() returns null. The fix is to call Path.getAbsolutePath().getParentPath() when Path.getParentPath() returns null.
Reviewed-by: alanb
! src/share/classes/java/util/logging/FileHandler.java
+ test/java/util/logging/FileHandlerPath.java
More information about the jdk8u-dev-changes
mailing list