[jbosstools-issues] [JBoss JIRA] (JBIDE-10227) GC leak in org.jboss.tools.common.model.ui.widgets.TextAndReferenceComponent
Max Rydahl Andersen (Updated) (JIRA)
jira-events at lists.jboss.org
Mon Nov 28 03:43:43 EST 2011
[ https://issues.jboss.org/browse/JBIDE-10227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Rydahl Andersen updated JBIDE-10227:
----------------------------------------
Fix Version/s: 3.3.0.Beta1
Setting fix version to look at these in Beta1 if resource leaks even have an effect.
> 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
> 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: 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