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

Build failed in metaspace.cpp with VS2017

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 11
    • 11
    • hotspot
    • b13
    • windows

      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.

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

              Created:
              Updated:
              Resolved: