Quality Outreach Heads-up - New default macOS Rendering PipelineDavid Delabassee on April 27, 2022
The OpenJDK Quality Group promotes the testing of FOSS projects with OpenJDK builds as a way to improve the overall quality of the release. This heads-up is part of a regular communication sent to the projects involved. To learn more about the program, and how-to join, please check here.
New Default macOS Rendering Pipeline on JDK 19
JEP 382 introduced in JDK 17 support for the new macOS Metal graphics pipeline for Swing and Java2D. On macOS, JDK 19 starting build 18 is switching the default to use that new Metal rendering pipeline instead of the old Apple OpenGL API.
Call to Action
Java applications running on macOS (10.14 or later) will not need to take any action, as they will automatically benefit from faster graphics with lower power consumption, and the use of a more modern stable graphics API which will be able to work better on current and future Apple systems. It is still possible to reverse the old OpenGL rendering pipeline using the
-Dsun.java2d.opengl=true flag with the Java launcher. For more details, please check JDK-8284378, and the Project Lanai wiki.