[jbosstools-issues] [JBoss JIRA] (JBIDE-10222) VpeController has resource leaks

Alexey Kazakov (Resolved) (JIRA) jira-events at lists.jboss.org
Mon Dec 5 14:46:41 EST 2011


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

Alexey Kazakov resolved JBIDE-10222.
------------------------------------

    Fix Version/s: 3.3.0.M5
                       (was: 3.3.0.Beta1)
       Resolution: Done


Was fixed for M5.
                
> VpeController has resource leaks
> --------------------------------
>
>                 Key: JBIDE-10222
>                 URL: https://issues.jboss.org/browse/JBIDE-10222
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: Visual Page Editor core
>    Affects Versions: 3.3.0.M4
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Yahor Radtsevich
>             Fix For: 3.3.0.M5
>
>
> line 1664:
> {code}
> Color bckgColor = new Color(tip.getDisplay(), 255, 250, 236);
> {code}
> line 1701:
> {code}
> Color color = new Color(tipControlHeaderText.getDisplay(), 201,
>  51, 40);
> {code}
> line 1747:
> {code}
> Color color = new Color(tipControlHeaderText
> .getDisplay(), 42, 148, 0);
> {code}
> VpeDropWindow has in line 52:
> {code}
> static final Color BACKGROUND_COLOR = new Color(null, 0xff, 0xff, 0xcd);
> {code}
> - generally is not a leak here, but a better way to store RGB value and create color and dispose it

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