ImageFileReader::open does not check whether osSupport::map_memory actually was successful or not outside of debug builds. In most cases, if the file is present, it should. However it is also valid, from a correctness standpoint, for mmap to not be supported for the filesystem. If osSupport::map_memory fails, currently the JVM will crash.
- links to
-
Review(master)
openjdk/jdk/28087