Bug 269336

Summary: [prefs] JavaProject preferences listeners are not removed
Product: [Eclipse Project] JDT Reporter: Frederic Fusier <frederic_fusier>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david_audel, jerome_lanneluc
Version: 3.5   
Target Milestone: 3.5 M7   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed patch none

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.