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

Bug 403806

Summary: Race condition in preference initialization
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ServerAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon
Version: unspecified   
Target Milestone: 3.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2013-03-19 11:50:09 EDT
We have some SCR components that are accessing preferences very early in server startup. It is possible that this code runs *before* the extension registry service is available. When this happens, preference initializer code does not run because these are supplied via extension point. To workaround this we should avoid accessing preferences in static initializers and let them get loaded lazily.