Bug 269336 - [prefs] JavaProject preferences listeners are not removed
Summary: [prefs] JavaProject preferences listeners are not removed
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.5 M7   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-19 07:19 EDT by Frederic Fusier CLA
Modified: 2009-04-28 09:19 EDT (History)
2 users (show)

See Also:


Attachments
Proposed patch (8.72 KB, patch)
2009-03-23 06:12 EDT, Frederic Fusier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2009-03-19 07:19:30 EDT
While tracking bug 267941, we discovered that the preferences listeners added onto the JavaProject are not removed when they are reset or when the project is closed. This may introduced some memory leaks typically when a project is closed/reopened in the workspace...
Comment 1 Frederic Fusier CLA 2009-03-23 06:12:19 EDT
Created attachment 129577 [details]
Proposed patch
Comment 2 Frederic Fusier CLA 2009-03-23 06:13:38 EDT
Released for 3.5M7.

Unfortunately, there's no test case to verify this fix. Please, look at the code to verify that it works well...
Comment 3 David Audel CLA 2009-04-28 09:19:02 EDT
Verified for 3.5M7 using I20090428-0100.