[jbosstools-issues] [JBoss JIRA] (JBIDE-10242) org.jboss.tools.common.model.util.ModelImages has image leaks

Viacheslav Kabanovich (Resolved) (JIRA) jira-events at lists.jboss.org
Thu Dec 1 20:55:41 EST 2011


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

Viacheslav Kabanovich resolved JBIDE-10242.
-------------------------------------------

      Assignee: Viacheslav Kabanovich  (was: Alexey Kazakov)
    Resolution: Done

    
> org.jboss.tools.common.model.util.ModelImages has image leaks
> -------------------------------------------------------------
>
>                 Key: JBIDE-10242
>                 URL: https://issues.jboss.org/browse/JBIDE-10242
>             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
>
>
> from line 33:
> {code}
> 	public static Image getImage(String key) {
> 		return instance.createImageDescriptor(key).createImage();
> 	}
> {code}
> try to inspect Call Hierarchy of the function - there are a lot of places with Image leak here.
> imo, getImage is not correct name here -> should be createImage in minimum, maximum is necessary to change logic.

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