Mike Rumpf created FELIX-6174:
---------------------------------

             Summary: org.apache.felix.utils.properties.TypedProperties does 
not parse arrays correctly
                 Key: FELIX-6174
                 URL: https://issues.apache.org/jira/browse/FELIX-6174
             Project: Felix
          Issue Type: Bug
          Components: Utils
    Affects Versions: utils-1.10.4
         Environment: Windows 7 / tested with 
org.apache.felix.org.apache.felix.utils_1.11.2.jar
            Reporter: Mike Rumpf
         Attachments: TypedPropertiesTest.java

org.apache.felix.utils.properties.TypedProperties does not parse arrays in OSGi 
configurations correctly.

While a single line config with

key=["val1","val2"] works fine

just adding a standard key value pair

key2=val2

has the consequence that the value for "key" is not parsed as an array anymore.

(see attached JUnit test to demonstrate the problem)

 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to