[ https://issues.apache.org/jira/browse/FELIX-6174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971032#comment-16971032 ]
Jean-Baptiste Onofré commented on FELIX-6174: --------------------------------------------- {{key2=val2}} is not an array for sure. You have to use {{key2=["val2"]}}. > 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 > Assignee: Jean-Baptiste Onofré > Priority: Critical > Fix For: utils-1.11.4 > > 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.4#803005)