-
Bug
-
Resolution: Fixed
-
P3
-
8, 11, 12, 13, 14, 15, 16
-
b18
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8268381 | 11.0.13-oracle | Harold Seigel | P3 | Resolved | Fixed | b01 |
JDK-8265501 | 11.0.12 | Thomas Stuefe | P3 | Resolved | Fixed | b01 |
On Windows, os::pd_map_memory() uses CreateFile, not CreateFileW, to get a handle to the mapped file. This causes misleading "file not found" errors if the file name is longer than Windows allows [1][2].
AFAICS os::pd_map_memory is only used by CDS.
[1] https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file
[2] https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation
AFAICS os::pd_map_memory is only used by CDS.
[1] https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file
[2] https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation
- backported by
-
JDK-8265501 [windows] CDS archive may fail to open with long file names
-
- Resolved
-
-
JDK-8268381 [windows] CDS archive may fail to open with long file names
-
- Resolved
-
- relates to
-
JDK-8249943 [TESTBUG] runtime/cds/serviceability/transformRelatedClasses/TransformInterfaceAndImplementor.java
-
- Resolved
-