-
Bug
-
Resolution: Fixed
-
P4
-
8-pool, 11, 17-pool-oracle, 21.0.3-oracle
-
b27
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8321188 | 21.0.3-oracle | Weibing Xiao | P4 | Resolved | Fixed | b01 |
JDK-8322731 | 21.0.3 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8321295 | 17.0.11-oracle | Weibing Xiao | P4 | Resolved | Fixed | b01 |
JDK-8322730 | 17.0.11 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8321296 | 11.0.23-oracle | Weibing Xiao | P4 | Resolved | Fixed | b01 |
JDK-8324947 | 11.0.23 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
The Windows API FindFirestFileW generates the error code ERROR_NO_MORE_FILES for a valid path (possibly due to the compatibility issue with SMB protocol) when JDK is canonicalizing this path. One of the solutions might be to add this error code to https://github.com/openjdk/jdk/blob/master/src/java.base/windows/native/libjava/canonicalize_md.c#L131, which will be treated as a handleable error.
public static void main(String[] args) {
String parentFolder = "\\\\192.168.1.96\\temp";
String folderName="temp";
int i =0;
try{
while(i<10000) {
File f = new File(parentFolder+"\\"+folderName+args[0]+i+"\\test");
if(!f.mkdirs()) {
System.out.println("New folder created==="+i);
throw new Exception("folder not created");
}
i++;
}
}catch (Exception e){
System.out.println(args[0]+" failed at "+i);
e.printStackTrace();
}
}
- backported by
-
JDK-8321188 File.mkdirs() occasionally fails to create folders on Windows shared folder
- Resolved
-
JDK-8321295 File.mkdirs() occasionally fails to create folders on Windows shared folder
- Resolved
-
JDK-8321296 File.mkdirs() occasionally fails to create folders on Windows shared folder
- Resolved
-
JDK-8322730 File.mkdirs() occasionally fails to create folders on Windows shared folder
- Resolved
-
JDK-8322731 File.mkdirs() occasionally fails to create folders on Windows shared folder
- Resolved
-
JDK-8324947 File.mkdirs() occasionally fails to create folders on Windows shared folder
- Resolved
- relates to
-
JDK-8234363 ERROR_NO_MORE_FILES is not handled in WinNTFileSystem.canonicalize0
- Closed
- links to
-
Commit openjdk/jdk11u-dev/6360095a
-
Commit openjdk/jdk17u-dev/35b02309
-
Commit openjdk/jdk21u-dev/a17d0c4b
-
Commit openjdk/jdk/7ad70059
-
Review openjdk/jdk11u-dev/2489
-
Review openjdk/jdk17u-dev/2079
-
Review openjdk/jdk21u-dev/92
-
Review(master) openjdk/jdk/16502