This seems to start happening after JDK-8247910:
c:/buildbot/worker/build-jdkX-windows/build/test/hotspot/gtest/utilities/test_align.cpp(96): error C2220: warning treated as error - no 'object' file generated
c:/buildbot/worker/build-jdkX-windows/build/test/hotspot/gtest/utilities/test_align.cpp(156): note: see reference to function template instantiation 'void static_test_alignments<T,A>(void)' being compiled
with
[
T=int64_t,
A=uint8_t
]
c:/buildbot/worker/build-jdkX-windows/build/test/hotspot/gtest/utilities/test_align.cpp(162): note: see reference to function template instantiation 'void test_alignments<int64_t,uint8_t>(void)' being compiled
c:/buildbot/worker/build-jdkX-windows/build/test/hotspot/gtest/utilities/test_align.cpp(96): warning C4307: '+': integral constant overflow