RFR: 8308017: [Mac] Update deprecated constants in GlassWindow code
Kevin Rushforth
kcr at openjdk.org
Wed May 31 22:40:12 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.
Marked as reviewed by kcr (Lead).
-------------
PR Review: https://git.openjdk.org/jfx/pull/1137#pullrequestreview-1454275232
More information about the openjfx-dev
mailing list