Bug 100020 (https://bugs.openjdk.java.net/show_bug.cgi?id=100020) is a fix from Andreas Frischknecht. In summary File#lastModified, on Windows, uses GetFileTime to get the timestamp but doesn't check the result. This bites when accessing a remote file at just around the time that the file is deleted. Good sleuthing on the part of Andreas! As it only duplicates when accessing a file over SMB we don't propose to include a regression test.
The webrev is here: http://cr.openjdk.java.net/~alanb/6819689/webrev.00/ Thanks, Alan.
