[jdk11u] RFR: 8365389: Remove static color fields from SwingUtilities3 and WindowsMenuItemUI
Andrew John Hughes
andrew at openjdk.org
Thu Sep 25 23:38:32 UTC 2025
I'd like to bring this late to 11u to assure the regression introduced by [JDK-8348760](https://bugs.openjdk.org/browse/JDK-8348760) doesn't get into the October release.
Unfortunately the follow-up change [JDK-8365625](https://bugs.openjdk.org/browse/JDK-8365625) is not yet pushed, but this is further cleanup and a testcase; it is this change that contains the fix for the issue.
Backport to 11u is nearly clean. The only manual hunk to be applied was in `WindowsMenuItemUI.java` as the variable `changeListener` which appears in the context does not exist in 11u (something we discussed in https://github.com/openjdk/jdk11u/pull/104)
Re-testing by those with access to an appropriate Windows 11 environment would be helpful.
-------------
Commit messages:
- Backport 3468c6e5ef7e7592cf9484736ce333fbe0eaf34d
Changes: https://git.openjdk.org/jdk11u/pull/105/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u&pr=105&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8365389
Stats: 79 lines in 6 files changed: 14 ins; 51 del; 14 mod
Patch: https://git.openjdk.org/jdk11u/pull/105.diff
Fetch: git fetch https://git.openjdk.org/jdk11u.git pull/105/head:pull/105
PR: https://git.openjdk.org/jdk11u/pull/105
More information about the jdk-updates-dev
mailing list