IllegalArgumentException in PropertyMetadata.setValues()
--------------------------------------------------------

                 Key: FELIX-3086
                 URL: https://issues.apache.org/jira/browse/FELIX-3086
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions:  scr-1.6.0
            Reporter: Yasuhiro Kawame


Given the following XML, the value of the property will be char []{ 'a', 'b'}.
But PropertyMetadata.setValues() throws IllegalArgumentException.

<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0";>
  <implementation class="DummyClass" />
  <property name="char_array_property" type="Character">
    a
    b
  </property>
</scr:component>



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to