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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 7
    • 7
    • 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).

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: