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 Dec 24, 2023
1 parent b9d45b1 commit a17d0c4
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
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,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;
}
return 1;
Expand Down

1 comment on commit a17d0c4

@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.