]
Viacheslav Kabanovich resolved JBIDE-10227.
-------------------------------------------
Resolution: Done
GC leak in
org.jboss.tools.common.model.ui.widgets.TextAndReferenceComponent
-----------------------------------------------------------------------------
Key: JBIDE-10227
URL:
https://issues.jboss.org/browse/JBIDE-10227
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: common/jst/core
Affects Versions: 3.3.0.M4
Reporter: Vitali Yemialyanchyk
Assignee: Viacheslav Kabanovich
Fix For: 3.3.0.Beta1
{code}
public Point computeSize(int wHint, int hHint, boolean changed) {
width = (wHint == SWT.DEFAULT) ? defaultWidth : wHint;
GC g = new GC(this);
g.setFont(getFont());
lines = Tokenizer.breakIntoLines(g, tokens, width);
return new Point(width + 10, lines.length * lineHeight + 6);
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: