Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8178911

Building of awt_Window.cpp fails on Windows with VS2010

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 9
    • 9
    • 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;

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

              Created:
              Updated:
              Resolved: