JDK-8202672 : Build failed in metaspace.cpp with VS2017
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 11
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2018-05-04
  • Updated: 2023-12-07
  • Resolved: 2018-05-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11 b13Fixed
Related Reports
Relates :  
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.
Comments
URL: http://hg.openjdk.java.net/jdk/jdk/rev/9e82ca74f086 User: kbarrett Date: 2018-05-05 16:38:59 +0000
05-05-2018

This was introduced by JDK-8201572.
04-05-2018