Java Mailing List Archive

http://www.gg3721.com/

Home » eclipse-plugin-dev.groovy »

[groovy-eclipse-plugin-dev] Color, instanciation and disposal

Aurélien Pupier

2009-11-12

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi,

I'm using org.codehaus.groovy.eclipse.ui_2.0.0.xx-20091019-1600-M1-e35.jar.

It seems that there is a small leak of handle on Color in org.codehaus.groovy.eclipse.editor.GroovyTagScanner l.238, 247, 254, 267, 274, 279, 286.
I noticed that when I'm using Sleak. I'm sure that I have called dispose() on the editor.

And I don't understand why a new Color is used there, why don't use the IColorManager? as it is used in same class at line 220.

I think that the leak that I noticed is due to that.

If I'm wrong please explain me what I'm doing wrong.

Regards,

Aurelien Pupier
Bonita Open Solution Studio Developer


©2008 gg3721.com - Jax Systems, LLC, U.S.A.