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

Building of awt_Window.cpp fails on Windows with VS2010

    Details

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

      Description

      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;

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: