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

    • Sub-task
    • Resolution: Done
    • Major
    • 3.3.0.M5
    • 3.3.0.M4
    • common
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: