JDK-8037405 : JMenuItem should check L&F icons in the image observer
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P5
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2014-03-14
  • Updated: 2014-03-14
  • Resolved: 2014-03-14
Related Reports
Relates :  
JMenuItem inherits imageUpdate() method from AbstractButton which knows nothing about the menu item icons and so returns false for the icons loading.
This issue is obscured because usually ImageIcon calls getProperty() method with null image observer on image and forces the image loading.

This problems appears in the MultiResolutionBufferedImage where ImageIcon loads the base image but a resolution variant on HiDPI display has not been loaded.