Skip to content

Commit

Permalink
8315034: File.mkdirs() occasionally fails to create folders on Window…
Browse files Browse the repository at this point in the history
…s shared folder

Backport-of: 7ad700596fbc58c27fedfa46755e80ea57712fac
  • Loading branch information
GoeLin committed Jan 30, 2024
1 parent 26d795d commit 6360095
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/java.base/windows/native/libjava/canonicalize_md.c
Expand Up @@ -215,7 +215,8 @@ lastErrorReportable()
|| (errval == ERROR_BAD_NET_NAME)
|| (errval == ERROR_ACCESS_DENIED)
|| (errval == ERROR_NETWORK_UNREACHABLE)
|| (errval == ERROR_NETWORK_ACCESS_DENIED)) {
|| (errval == ERROR_NETWORK_ACCESS_DENIED)
|| (errval == ERROR_NO_MORE_FILES)) {
return 0;
}

Expand Down

1 comment on commit 6360095

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.