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