You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Yasuhiro Kawame (Closed) (JIRA)" <ji...@apache.org> on 2011/10/12 08:53:11 UTC

[jira] [Closed] (FELIX-3086) IllegalArgumentException in PropertyMetadata.setValues()

     [ https://issues.apache.org/jira/browse/FELIX-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yasuhiro Kawame closed FELIX-3086.
----------------------------------


Close issue, passed my tests using the revision. Thanks.
                
> 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
>            Assignee: Felix Meschberger
>             Fix For: scr-1.6.2
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira