RFR: 8315034 : File.mkdirs() occasionally fails to create folders on Windows shared folder

Weibing Xiao duke at openjdk.org
Thu Nov 30 14:20:33 UTC 2023


On Mon, 6 Nov 2023 20:19:25 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> src/java.base/windows/native/libjava/canonicalize_md.c line 142:
>> 
>>> 140:         || (errval == ERROR_NETWORK_UNREACHABLE)
>>> 141:         || (errval == ERROR_NETWORK_ACCESS_DENIED)
>>> 142:         || (errval == ERROR_NO_MORE_FILES)) {
>> 
>> @bplb Is this the same thing as JDK-8234363? Does this also need to be handled in the FindFirstFile usage in WindowsDirectoryStream?
>
> It seems likely. I don't recall having been able to replicate these problems however.

I used to duplicate it quite easily on my personal laptop with JDK11 (one laptop with Windows 11, the other with Windows 10). After my laptop system got updated, it was almost impossible to recreate it with my two laptops. To verify this bug, we have to configure exactly the same testing environment as the customer was having.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16502#discussion_r1387151896


More information about the core-libs-dev mailing list