Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 59481 - Preference initialization should not be done in Plugin#startup()
Summary: Preference initialization should not be done in Plugin#startup()
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Kevin Barnes CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-21 13:40 EDT by DJ Houghton CLA
Modified: 2004-05-03 11:47 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2004-04-21 13:40:17 EDT
build i0420:0800

JDIDebugPlugin#startUp initializes a group of debug.core preference defaults.
This should be done by over-riding Plugin#initializeDefaultPluginPreferences().

The concequences of doing this in your startup code means that the default
values cannot be over-riden by plug-in customization methods. (command-line,
special file in primary feature's plug-in, etc)

Another side effect is that if I'm lucky enough to choose a debug.core pref to
customize and test, then I spend an hour trying to figure out why my new pref
customization code doesn't work. This is just as a "for instance", of course. :-)
Comment 1 Darin Swanson CLA 2004-04-30 19:42:06 EDT
Fixed in JDIDebugPlugin.
Comment 2 Darin Swanson CLA 2004-04-30 19:42:23 EDT
Please verify Kevin.
Comment 3 Kevin Barnes CLA 2004-05-03 11:47:58 EDT
verified