- 
    Type:
Bug
 - 
    Resolution: Fixed
 - 
    Priority:
  P3                     
     - 
    Affects Version/s: 26
 - 
    Component/s: client-libs
 
- 
        b13
 
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8368849 | 25.0.2 | Severin Gehwolf | P3 | Resolved | Fixed | b01 | 
| JDK-8369023 | 21.0.10 | Goetz Lindenmaier | P3 | Resolved | Fixed | master | 
| JDK-8368742 | 21.0.9 | Goetz Lindenmaier | P3 | Resolved | Fixed | b09 | 
| JDK-8369025 | 17.0.18 | Goetz Lindenmaier | P3 | Resolved | Fixed | master | 
| JDK-8368746 | 17.0.17 | Goetz Lindenmaier | P3 | Resolved | Fixed | b09 | 
| JDK-8371110 | 11.0.30 | Andrew Hughes | P3 | Resolved | Fixed | master | 
| JDK-8368789 | 11.0.29 | Andrew Hughes | P3 | Resolved | Fixed | b06 | 
| JDK-8371099 | openjdk8u482 | Andrew Hughes | P3 | Resolved | Fixed | master | 
| JDK-8368788 | openjdk8u472 | Andrew Hughes | P3 | Resolved | Fixed | b07 | 
| JDK-8370167 | shenandoah8u472 | Andrew Hughes | P3 | Resolved | Fixed | b07 | 
This issue was raised during code review [1-7] for
Additionally, the static methods WindowsMenuItemUI.applyInsets, paintCheckIcon, paintIcon [8] aren't needed—the corresponding method from SwingUtilities3 could've been called directly without introducing a new method.
Overridden method `paintMenuItem` in WindowsMenuUI, WindowsCheckBoxMenuItemUI, WindowsRadioButtonMenuItemUI has a redundant javadoc comment [9-11]. These overridden methods lack the `@Override` annotation as well as WindowsMenuItemUI.paintMenuItem [12].
Even though I had suggested using SwingUtilities3 [13] for the helper methods, I later suggested [14] creating a new class sun.swing.MenuItemRenderHelper similar to sun.swing.MenuItemLayoutHelper to keep both layout and renderer closer together.
[1] https://github.com/openjdk/jdk/pull/23324#discussion_r2168941423
[2] https://github.com/openjdk/jdk/pull/23324#discussion_r2168941423
[3] https://github.com/openjdk/jdk/pull/23324#discussion_r2169199694
[4] https://github.com/openjdk/jdk/pull/23324#discussion_r2169217699
[5] https://github.com/openjdk/jdk/pull/23324#discussion_r2169219765
[6] https://github.com/openjdk/jdk/pull/23324#discussion_r2269414401
[7] https://github.com/openjdk/jdk/pull/23324#discussion_r2169267877
[8] https://github.com/openjdk/jdk/pull/23324#discussion_r2169263009
[9] https://github.com/openjdk/jdk/pull/23324#discussion_r2169272729
[10] https://github.com/openjdk/jdk/pull/23324#discussion_r2169298130
[11] https://github.com/openjdk/jdk/pull/23324#discussion_r2169302893
[12] https://github.com/openjdk/jdk/pull/23324#discussion_r2169285512
[13] https://github.com/openjdk/jdk/pull/23324#issuecomment-2707067002
[14] https://github.com/openjdk/jdk/pull/23324#discussion_r2169334895
- backported by
 - 
                    
JDK-8368742 Remove static color fields from SwingUtilities3 and WindowsMenuItemUI
-         
     - Resolved
 
 -         
 - 
                    
JDK-8368746 Remove static color fields from SwingUtilities3 and WindowsMenuItemUI
-         
     - Resolved
 
 -         
 - 
                    
JDK-8368788 Remove static color fields from SwingUtilities3 and WindowsMenuItemUI
-         
     - Resolved
 
 -         
 - 
                    
JDK-8368789 Remove static color fields from SwingUtilities3 and WindowsMenuItemUI
-         
     - Resolved
 
 -         
 - 
                    
JDK-8368849 Remove static color fields from SwingUtilities3 and WindowsMenuItemUI
-         
     - Resolved
 
 -         
 - 
                    
JDK-8369023 Remove static color fields from SwingUtilities3 and WindowsMenuItemUI
-         
     - Resolved
 
 -         
 - 
                    
JDK-8369025 Remove static color fields from SwingUtilities3 and WindowsMenuItemUI
-         
     - Resolved
 
 -         
 - 
                    
JDK-8370167 Remove static color fields from SwingUtilities3 and WindowsMenuItemUI
-         
     - Resolved
 
 -         
 - 
                    
JDK-8371099 Remove static color fields from SwingUtilities3 and WindowsMenuItemUI
-         
     - Resolved
 
 -         
 - 
                    
JDK-8371110 Remove static color fields from SwingUtilities3 and WindowsMenuItemUI
-         
     - Resolved
 
 -         
 
- blocks
 - 
                    
JDK-8365625 Can't change accelerator colors in Windows L&F
-         
     - Resolved
 
 -         
 
- caused by
 - 
                    
JDK-8348760 RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel
-         
     - Resolved
 
 -         
 
- links to
 - 
                    
        
        Commit(master)
        openjdk/jdk8u/5cffbcb0
    
 - 
                    
        
        Commit(master)
        openjdk/jdk11u/25a9b9e5
    
 - 
                    
        
        Commit(master)
        openjdk/jdk17u/458b9acc
    
 - 
                    
        
        Commit(master)
        openjdk/jdk21u/4483c441
    
 - 
                    
        
        Commit(master)
        openjdk/jdk25u/3747153d
    
 - 
                    
        
        Commit(master)
        openjdk/jdk/3468c6e5
    
 - 
                    
        
        Review(master)
        openjdk/jdk8u/79
    
 - 
                    
        
        Review(master)
        openjdk/jdk11u/105
    
 - 
                    
        
        Review(master)
        openjdk/jdk17u/411
    
 - 
                    
        
        Review(master)
        openjdk/jdk21u/470
    
 - 
                    
        
        Review(master)
        openjdk/jdk25u/244
    
 - 
                    
        
        Review(master)
        openjdk/jdk/26783