Jack Yang created CONFIGURATION-581:
---------------------------------------

             Summary: 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


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)

Reply via email to