Community
Participate
Working Groups
I'm not interested in seeing colors in the Sleak inpector. I don't bother disposing colors in my application, so there are lots of reported leaks. Can there be an option to filter/ignore Colors? Should this option prevent the Display from leaking the Color instances which would otherwise get GCed?
Sounds reasonable to me, however, their are still some old Motif Unix boxes where colors can leak. Also, WinCE and other hand-helds might have the problem as well.
Can colors really leak on those platforms? Or, can up to 256 colors leak, but no more than 256.
*** Bug 245894 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > Sounds reasonable to me, however, their are still some old Motif Unix boxes > where colors can leak. Also, WinCE and other hand-helds might have the problem > as well. > If Colors are indeed not resources, could the javadoc for color be fixed? Alternatively, could there be a positive list of platforms where Colors are definitely NOT resources? GEF, for example leaks Colors left right and center (if indeed they are Resources). Otherwise, I guess the GEF FAQ should be fixed to indicate which platforms are supported: from the GEF FAQ: "GEF is written in pure Java and should run on all operating systems officially supported by the Eclipse platform. ..."
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.