Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8371048

ImageFileReader::open fails to check return value of osSupport::map_memory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • None

      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.

            jcking Justin King
            jcking Justin King
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: