#9 Use weak references on AwtPenToolkit Component/PenListener

open
nobody
None
5
2011-06-29
2011-06-29
No

AwtPenToolkit.addPenListener(Component, PenListener) implementation (version 2-110623) stores the Component and PenListener using strong references which prevents them to be garbage collected if AwtPenToolkit.removePenListener isn't called.
Feature request: use WeakHashMap/WeakReference to store Components and PenListeners on AwtPenToolkit.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks