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

Bug 320459

Summary: BundleContext.getProperty() uses stale System properties
Product: [Eclipse Project] Equinox Reporter: Sahoo <sanjeeb.sahoo>
Component: FrameworkAssignee: equinox.framework-inbox <equinox.framework-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: tjwatson
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:

Description Sahoo CLA 2010-07-21 00:44:06 EDT
Build Identifier: 3.5.1.R35x_v20090827

Javadoc of BundleContext.getProperty() says the following:
Returns the value of the specified property. If the key is not found in the
Framework properties, the system properties are then searched. The method
returns null if the property is not found.

It seems Equinox takes a snapshot of System properties when the framework is launched and uses that in the implementation of BundleContext.getProperty. The spec does not specify such behavior.

Reproducible: Always
Comment 1 Thomas Watson CLA 2010-07-21 09:18:30 EDT

*** This bug has been marked as a duplicate of bug 319679 ***