Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10221 Resorce leak problems in JBossTools
  3. JBIDE-10242

org.jboss.tools.common.model.util.ModelImages has image leaks

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.3.0.M4
    • Fix Version/s: 3.3.0.M5
    • Component/s: common
    • Labels:
      None

      Description

      from line 33:

      	public static Image getImage(String key) {
      		return instance.createImageDescriptor(key).createImage();
      	}
      

      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.

        Attachments

          Activity

            People

            Assignee:
            scabanovich Viacheslav Kabanovich (Inactive)
            Reporter:
            vyemialyanchyk Vitali Yemialyanchyk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: