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

Build failed in metaspace.cpp with VS2017

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Resolved In Build:
      b13
    • OS:
      windows

      Description

      When building OpenJDK with VS2017, the build fails like this:

      d:/erik/jdk/open/src/hotspot/share/memory/metaspace.cpp(4134): error C3688: invalid literal suffix 'UINTX_FORMAT'; literal operator or literal operator template 'operator ""UINTX_FORMAT' not found
      lib/CompileJvm.gmk:149: recipe for target '/cygdrive/d/erik/jdk/build/windows-x64-open/hotspot/variant-server/libjvm/objs/metaspace.obj' failed
      make[3]: *** [/cygdrive/d/erik/jdk/build/windows-x64-open/hotspot/variant-server/libjvm/objs/metaspace.obj] Error 1

      This looks like a recent change as jdk-11+11 built fine.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kbarrett Kim Barrett
                Reporter:
                erikj Erik Joelsson
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: