[9] RFR of JDK-8073078: java/nio/file/FileStore/Basic.java sensitive to NFS configuration

Brian Burkhalter brian.burkhalter at oracle.com
Fri Jul 31 14:09:13 UTC 2015


On Jul 31, 2015, at 12:00 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> On 30/07/2015 23:28, Brian Burkhalter wrote:
>> Please review at your convenience.
>> 
>> Issue:	https://bugs.openjdk.java.net/browse/JDK-8073078
>> Webrev:	http://cr.openjdk.java.net/~bpb/8073078/webrev.00/
>> 
>> Summary: Ignore NoSuchFileExceptions as the store might have been deleted subsequent to creation of the FileStore iterator which is not dynamic.
>> 
>> This change should also fix https://bugs.openjdk.java.net/browse/JDK-8081354 and https://bugs.openjdk.java.net/browse/JDK-8065959.
>> 
> This looks okay although I think one would need to be very lucky to have the file system unmounted or becomes unreachable while this test is running.

I concur although it appears to happen occasionally and I artificially reproduced the situation on my development machine.

Thanks,

Brian


More information about the nio-dev mailing list