<AWT Dev>  Review request for 8155001: SystemTray.remove() leaks GDI Objects in Windows
dmitry.markov at oracle.com
Fri May 6 11:48:13 UTC 2016
Could you review the fix for jdk9, please?
When TrayIcon is removed from SystemTray, dispose() method will be
called for its peer and corresponding native objects. However HICON
object is not deleted during dispose() invocation. That causes the leak
of GDI objects.
Dispose() in awt_TrayIcon.cpp should call DestroyIcon() to avoid leak of
More information about the awt-dev