Windows L&F is broken in SwingSet2, when JDK is built with the recent Windows SDK

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 7
    • Affects Version/s: 7
    • Component/s: client-libs
    • b94
    • generic
    • windows_xp

      There are significant problems with JDK7 built with the recent versions of Windows SDK (6.1, 7.0 or 7.0A). When any GUI application is started, the following assertion is triggered (in debug/fastdebug modes):

      *********************
      AWT Assertion Failure
      *********************
      SystemParametersInfoW(0x0029, ncmetrics.cbSize, &ncmetrics, 0)
      File '../../../src/windows/native/sun/windows/awt_DesktopProperties.cpp', at lin
      e 237
      GetLastError() is 0 : The operation completed successfully.

      Do you want to break into the debugger?
      *********************

      If the application then requests for Windows L&F, it becomes completely broken (likely because of the wrong metrics and wrong desktop properties).

            Assignee:
            Philip Race
            Reporter:
            Artem Ananiev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: