Compilation error on MacOS X: hotspot/src/share/vm/memory/filemap.cpp

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: infrastructure
    • Environment:
    • x86_64
    • os_x

      The latest filemap.cpp cannot be compiled on MacOS X due to the following compilation error:

      /work/jdk9-dev/hotspot/src/share/vm/memory/filemap.cpp:91:17: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
          tty->vprint(msg, ap);
                      ^~~

      The same source code can be compiled on Linux without errors.

            Assignee:
            Unassigned
            Reporter:
            Yuka Kamiya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: