Configuration.getProperty returns a Dictionary which is not entirely private
----------------------------------------------------------------------------

                 Key: FELIX-890
                 URL: https://issues.apache.org/jira/browse/FELIX-890
             Project: Felix
          Issue Type: Bug
          Components: Configuration Admin
    Affects Versions: configadmin-1.0.4, configadmin-1.0.8
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: configadmin-1.0.10


According to the specification of the Configuration.getProperties() method in 
104.15.2.6, the dictionary returned "is a private copy for the caller and may 
be changed without influencing the stored configuration".

This is not currently the case for array and vector/collection properties: 
Updating the array or vector/collection is reflected in the internal data 
structure kept by the configuration manager because only the internal 
Dictionary is copied into a new Dictionary while the values are copied by 
reference.

Actually a full deep copy of the dictionary is required.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to