RFR: 8315034 : File.mkdirs() occasionally fails to create folders on Windows shared folder
duke
duke at openjdk.org
Thu Jul 11 13:13:10 UTC 2024
On Fri, 3 Nov 2023 18:11:10 GMT, Weibing Xiao <wxiao 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.
@weibxiao
Your change (at version 5903a482db3c3e84adeb13609e8f4497f49eaeca) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16502#issuecomment-1834214000
More information about the core-libs-dev
mailing list