On Mon, 15 May 2023 15:09:27 GMT, Martin Fox <d...@openjdk.org> wrote:

> In macOS 10.12 Apple renamed a bunch of constants to match the Swift 
> enumeration style. JavaFX is still using the old deprecated constants which 
> generates over 50 warnings during the build. JavaFX 18 upped the minimum 
> macOS version to 10.12 so it's time to migrate to the new names.
> 
> This is strictly a rename to mollify the compiler. At a binary level the 
> values are the same so JavaFX should work fine on a pre-10.12 system.
> 
> Fun fact: Xcode 14 (released late 2022) officially dropped support for macOS 
> 10.12.

This pull request has now been integrated.

Changeset: 2a6e48f1
Author:    Martin Fox <mar...@nlazyt.com>
Committer: Kevin Rushforth <k...@openjdk.org>
URL:       
https://git.openjdk.org/jfx/commit/2a6e48f1c9090124c501c7c8be628ca43924460e
Stats:     20 lines in 3 files changed: 0 ins; 0 del; 20 mod

8308017: [Mac] Update deprecated constants in GlassWindow code

Reviewed-by: lkostyra, kcr

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

PR: https://git.openjdk.org/jfx/pull/1137

Reply via email to