[jbosstools-issues] [JBoss JIRA] (JBIDE-10227) GC leak in org.jboss.tools.common.model.ui.widgets.TextAndReferenceComponent

Viacheslav Kabanovich (Resolved) (JIRA) jira-events at lists.jboss.org
Wed Dec 14 13:52:09 EST 2011


     [ https://issues.jboss.org/browse/JBIDE-10227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: 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