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

Antonio Vieiro avieiro at openjdk.org
Fri Sep 26 07:23:31 UTC 2025


On Thu, 25 Sep 2025 23:33:23 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:

> 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.

Test passes in Windows 11:

<img width="997" height="521" alt="imagen" src="https://github.com/user-attachments/assets/1734849e-56bd-4b34-8209-b036793caa84" />

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

PR Comment: https://git.openjdk.org/jdk11u/pull/105#issuecomment-3337115363


More information about the jdk-updates-dev mailing list