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

macos10.14 check in CSystemColors can be removed.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 22
    • 22
    • client-libs
    • b21

    Description

      native/libawt_lwawt/awt/CSystemColors.

          if (@available(macOS 10.14, *)) {
              sColors[java_awt_SystemColor_CONTROL_HIGHLIGHT] = [NSColor selectedContentBackgroundColor];
          } else {
              sColors[java_awt_SystemColor_CONTROL_HIGHLIGHT] = [NSColor alternateSelectedControlColor];
          }

      After JDK-8317970 is integrated to make macOS 11 the minimum this check is obsolete and can be removed.

      Attachments

        Issue Links

          Activity

            People

              psadhukhan Prasanta Sadhukhan
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: