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

Cleanup obsolete references to WINVER in the AWT code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • 19
    • client-libs
    • None
    • b22
    • 19
    • windows

    Description

      After the fix for JDK-8285730 went in, the use of macros WINVER and IS_WINxxx that check for a particular WinAPI version becomes obsolete. One example is this group of declarations:
      src/java.desktop/windows/native/libawt/windows/awt_Toolkit.h:157

      All such uses need to be cleaned up in order to avoid confusion and reduce the risk of getting a compiler warning of unused declarations (which will break a "warnings-as-errors" build).

      Attachments

        Issue Links

          Activity

            People

              mkartashev Maxim Kartashev
              mkartashev Maxim Kartashev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: