Building of awt_Window.cpp fails on Windows with VS2010

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • 9
    • Affects Version/s: 9
    • Component/s: client-libs
    • None

      I know that VS2010 isn't Oracle's default compiler for Windows, but others like SAP are still using it. The fix for JDK-8175293 introduced a struct assignment which is not supported by VS2010:

      prevScaleRec = { -1, -1, -1 };

      The fix is rather trivial and would keep the JDK9 sources buildable with VS2010:

      prevScaleRec.scaleX = prevScaleRec.scaleY = prevScaleRec.screen = -1;

            Assignee:
            Volker Simonis
            Reporter:
            Volker Simonis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: