On Wed, 18 Feb 2026 19:57:15 GMT, Phil Race <[email protected]> wrote:
> A straightforward removal of a per-AppContext flag which can now be static
src/java.desktop/share/classes/sun/swing/plaf/DesktopProperty.java line 98:
> 96: */
> 97: private static synchronized void setUpdatePending(boolean update) {
> 98: updatePending = update;
It seems the synchronized accessors are no longer needed? And the field itself
marked as volatile can be used instead, since both of these methods are called
from just the updateUI() method?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29801#discussion_r2830585643