[jbosstools-issues] [JBoss JIRA] (JBIDE-10227) GC leak in org.jboss.tools.common.model.ui.widgets.TextAndReferenceComponent
Vitali Yemialyanchyk (Created) (JIRA)
jira-events at lists.jboss.org
Wed Nov 23 08:32:40 EST 2011
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: Alexey Kazakov
{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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list