RFR: 8308017: [Mac] Update deprecated constants in GlassWindow code
Martin Fox
duke at openjdk.org
Mon May 15 15:15:07 UTC 2023
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.
-------------
Commit messages:
- Update constants renamed by Apple in macOS 10.12
Changes: https://git.openjdk.org/jfx/pull/1137/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1137&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8308017
Stats: 20 lines in 3 files changed: 0 ins; 0 del; 20 mod
Patch: https://git.openjdk.org/jfx/pull/1137.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1137/head:pull/1137
PR: https://git.openjdk.org/jfx/pull/1137
More information about the openjfx-dev
mailing list