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

macos10.14 check in CSystemColors can be removed.

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: