Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 288299

Summary: Debug core should not be using the deprecated preferences code
Product: [Eclipse Project] Platform Reporter: Michael Rennie <Michael_Rennie>
Component: DebugAssignee: Michael Rennie <Michael_Rennie>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public
Version: 3.5Flags: curtis.windatt.public: review+
Target Milestone: 3.6 M2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
proposed fix none

Description Michael Rennie CLA 2009-09-01 16:16:13 EDT
Created attachment 146231 [details]
proposed fix

I20090825-1032 + code from HEAD

debug.core is currently using the deprecated preferences code and should not
be. There are also some potential null pointer accesses reported that could be
cleaned up.

The proposed fix adds a new class Preferences that can be used by the other
debug plugins to remove deprecated preference code use.
Comment 1 Michael Rennie CLA 2009-09-01 16:21:22 EDT
the patch also fixes a problem with resetting the default preference value for deleting launch configurations when the associated project is deleted - i.e. it currently does not work.

Curtis please review and apply the patch.
Comment 2 Curtis Windatt CLA 2009-09-02 11:41:02 EDT
+1 Patch applied.
Comment 3 Curtis Windatt CLA 2009-09-02 11:41:23 EDT
Verified.