RFR: 8310847: [Mac] Silence OpenGL deprecation warnings

Martin Fox duke at openjdk.org
Sat Jun 24 17:59:15 UTC 2023


The Mac build issues a lot of warnings including several related to the deprecation of OpenGL in macOS 10.14. Now that the deployment target for JavaFX is 11.0 across the board these warnings are showing up on both M1 and Intel builds. Luckily Apple provides a simply way to silence these warnings by setting a single C preprocessor define.

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

Commit messages:
 - Silence OpenGL deprecation warnings on Mac

Changes: https://git.openjdk.org/jfx/pull/1161/files
 Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1161&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8310847
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jfx/pull/1161.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1161/head:pull/1161

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


More information about the openjfx-dev mailing list