RFR: 8308017: [Mac] Update deprecated constants in GlassWindow code
Lukasz Kostyra
lkostyra at openjdk.org
Tue May 23 15:21:45 UTC 2023
On Mon, 15 May 2023 15:09:27 GMT, Martin Fox <duke at 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.
Looks good, tests pass on macOS Ventura.
-------------
Marked as reviewed by lkostyra (Author).
PR Review: https://git.openjdk.org/jfx/pull/1137#pullrequestreview-1439375877
More information about the openjfx-dev
mailing list