RFR: 8315034 : File.mkdirs() occasionally fails to create folders on Windows shared folder
Weibing Xiao
duke at openjdk.org
Thu Nov 30 14:20:29 UTC 2023
On Fri, 3 Nov 2023 18:11:10 GMT, Weibing Xiao <duke at 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.
Removed the test file and added the label to JBS
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16502#issuecomment-1833862715
More information about the core-libs-dev
mailing list