Relates :
|
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
|