On Fri, 3 Nov 2023 18:11:10 GMT, Weibing Xiao <wx...@openjdk.org> wrote:
> 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. Hello Olivier, this has been backported to 11, 17 and 21 update releases but not to JDK 8. I don't closely follow the update releases, so I don't know if there's a reason for that. ------------- PR Comment: https://git.openjdk.org/jdk/pull/16502#issuecomment-2227348410