[jdk8u] RFR: 8365389: Remove static color fields from SwingUtilities3 and WindowsMenuItemUI

Andrew John Hughes andrew at openjdk.org
Fri Sep 26 00:15:02 UTC 2025


I'd like to bring this late to 8u 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 8u is clean from the 11u patch, after [shuffling](https://github.com/gnu-andrew/jdk/tree/jdk9u-updated/common/bin)

Re-testing by those with access to an appropriate Windows 11 environment would be helpful.

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

Depends on: https://git.openjdk.org/jdk8u/pull/78

Commit messages:
 - Backport 3468c6e5ef7e7592cf9484736ce333fbe0eaf34d

Changes: https://git.openjdk.org/jdk8u/pull/79/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u&pr=79&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/jdk8u/pull/79.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u.git pull/79/head:pull/79

PR: https://git.openjdk.org/jdk8u/pull/79


More information about the jdk8u-dev mailing list