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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: infrastructure
    • Environment:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: