Project: JDT
Bug 226261 [hovering] AbstractAnnotationHover leaks references to quick fix ASTs
Reported: 2008-04-09 06:27:50 | Status: verified fixed

I20080401-0851 AbstractAnnotationHover keeps references to quick fix ASTs. Problem could be that we don't have a lifecycle that clears the input of the AbstractAnnotationHover when it is made invisible (but not disposed). Exemplary path from GC root: org.eclipse.jdt.core.dom.AST ast of org.eclipse.jdt.core.dom.rewrite.ASTRewrite fRewrite of org.eclipse.jdt.internal.ui.text.correction.proposals.ASTRewriteCorrectionProposal val$proposal of org.eclipse.jdt.internal.ui.text.java.hover.AbstractAnnotationHover$4 eventListener of org.eclipse.swt.widgets.TypedListener [2] of org.eclipse.swt.widgets.Listener[4] listeners of org.eclipse.swt.widgets.EventTable eventTable of org.eclipse.swt.widgets.Label [2764] of org.eclipse.swt.widgets.Control[3072] controlTable of org.eclipse.swt.widgets.Display [JNI Global, Stack Local]

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AbstractAnnotationHover.java