[
https://issues.apache.org/jira/browse/CONFIGURATION-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oliver Heger resolved CONFIGURATION-581.
----------------------------------------
Resolution: Duplicate
Fix Version/s: 2.0
Thanks for the report. However, this problem has already been fixed due to
CONFIGURATION-540. The fix will be part of the upcoming 2.0 release.
> SystemConfiguration can not get the correct system property
> -----------------------------------------------------------
>
> Key: CONFIGURATION-581
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-581
> Project: Commons Configuration
> Issue Type: Bug
> Affects Versions: 1.10
> Reporter: Jack Yang
> Priority: Critical
> Labels: patch
> Fix For: 2.0
>
>
> Currently the SystemConfiguration does not handle the scenario like below
> System.setProperty("demoId", "demoValue");
> SystemConfiguration sysConf = new SystemConfiguration ();
> System.setProperties(new Properties(System.getProperties())));
> System.setProperty("demoId", "newDemoValue");
> String propertyFromSysConf = sysConf.getProperty("demoId")
>
> In the above code the value of propertyFromSysConf is demoValue but not
> newDemoValue, and I think the correct value should be newDemoValue
--
This message was sent by Atlassian JIRA
(v6.2#6252)