File.mkdirs() occasionally fails to create folders on Windows shared folders. 
It turned out that Windows API FindFirstFileW created the error 
ERROR_NO_MORE_FILES. In some of the cases with a valid file path, this error 
still returns this error code, which supposedly should not.

Adding this error code into the method of lastErrorReportable in the native 
code will be handled by JDK.

To test the fix, it needs to run three Java processes to create the folders on 
a remote file server.

-------------

Commit messages:
 - remove test file
 - 8315034 : File.mkdirs() occasionally fails to create folders on Windows 
shared folder

Changes: https://git.openjdk.org/jdk/pull/16502/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16502&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8315034
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16502.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16502/head:pull/16502

PR: https://git.openjdk.org/jdk/pull/16502

Reply via email to