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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 26
    • Component/s: core-libs
    • 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.

            Assignee:
            Justin King
            Reporter:
            Justin King
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: