On Fri, 1 Apr 2022 09:39:05 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

> [alternateSelectedControlColor](https://developer.apple.com/documentation/appkit/nscolor/1533135-alternateselectedcontrolcolor?language=objc)
>  is deprecated since osx10.14 so we need to replace with its alternative 
> "[selectedContentBackgroundColor](https://developer.apple.com/documentation/appkit/nscolor/2998830-selectedcontentbackgroundcolor?language=objc)"
> Since our minimum supported deployment target is still 
> [10.12](https://github.com/openjdk/jdk/blob/master/make/autoconf/flags.m4#L139)
> we need to use "@available" check to use the deprecated property on older 
> targets
> Background color check is ok and also open,closed jtreg run is green

This pull request has now been integrated.

Changeset: 19288654
Author:    Prasanta Sadhukhan <psadhuk...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/192886546bf86c9a577b2dfaa4b33cb94799659b
Stats:     6 lines in 1 file changed: 4 ins; 0 del; 2 mod

8284166: [macos] Replace deprecated alternateSelectedControlColor with 
selectedContentBackgroundColor

Reviewed-by: prr

-------------

PR: https://git.openjdk.java.net/jdk/pull/8071

Reply via email to