RFR: 8059269 - FileHandler may throw NPE if pattern is a simple name and the lock file already exists
Alan Bateman
Alan.Bateman at oracle.com
Mon Sep 29 11:42:51 UTC 2014
On 29/09/2014 09:51, Daniel Fuchs wrote:
>
> The files created by the test (both log files and lock files) will be
> removed by the finally block at lines 150 - 174 - so the test shouldn't
> leave any files open (which I verified by running the test on a JDK that
> does not have the fix).
It's the lock files created at L233 & L234 that I'm wondering about.
Suppose creating the second lock fails, that will leave the first lock
file open (even if it removed).
-Alan.
More information about the core-libs-dev
mailing list