Windows (MSVC 2017) build fails after JDK-8247910

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 16
    • Component/s: hotspot

      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

            Assignee:
            Unassigned
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: