-
Bug
-
Resolution: Fixed
-
P4
-
11
-
b17
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8204710 | 11.0.1 | Daniil Titov | P4 | Resolved | Fixed | team |
One of the newly converted Jvmti tests fails to compile with VS2017:
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): error C2220: warning treated as error - no 'object' file generated
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): warning C4477: 'printf' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'jlong'
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): note: consider using '%lld' in the format string
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): note: consider using '%Id' in the format string
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): note: consider using '%I64d' in the format string
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): warning C4477: 'printf' : format string '%ld' requires an argument of type 'long', but variadic argument 3 has type 'jlong'
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): note: consider using '%lld' in the format string
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): note: consider using '%Id' in the format string
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): note: consider using '%I64d' in the format string
JtregNativeHotspot.gmk:210: recipe for target '/cygdrive/c/erik/jdk/build/windows-x64/support/test/hotspot/jtreg/native/support/libtimers/libtimers.obj' failed
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): error C2220: warning treated as error - no 'object' file generated
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): warning C4477: 'printf' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'jlong'
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): note: consider using '%lld' in the format string
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): note: consider using '%Id' in the format string
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): note: consider using '%I64d' in the format string
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): warning C4477: 'printf' : format string '%ld' requires an argument of type 'long', but variadic argument 3 has type 'jlong'
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): note: consider using '%lld' in the format string
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): note: consider using '%Id' in the format string
c:\erik\jdk\closed\test\hotspot\jtreg\vmtestbase\nsk\jvmti\unit\timers\jvmtitest\JvmtiTest.c(352): note: consider using '%I64d' in the format string
JtregNativeHotspot.gmk:210: recipe for target '/cygdrive/c/erik/jdk/build/windows-x64/support/test/hotspot/jtreg/native/support/libtimers/libtimers.obj' failed
- backported by
-
JDK-8204710 Jvmti test fails to build with VS2017
-
- Resolved
-