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

David Bosschaert resolved FELIX-6100.
-------------------------------------
    Resolution: Fixed

Many thanks for the patch [~timothyjward]! It's applied in 
[http://svn.apache.org/viewvc?view=revision&revision=1857407]

> The converter fails to properly convert null to array types
> -----------------------------------------------------------
>
>                 Key: FELIX-6100
>                 URL: https://issues.apache.org/jira/browse/FELIX-6100
>             Project: Felix
>          Issue Type: Bug
>          Components: Converter
>    Affects Versions: converter-1.0.4
>            Reporter: Timothy Ward
>            Assignee: Timothy Ward
>            Priority: Major
>             Fix For: converter-1.0.6
>
>
> The Converter specification [says in 
> 707.4.3.1|https://osgi.org/specification/osgi.cmpn/7.0.0/util.converter.html#util.converter-arrays.collections]
>  that null should be converted to an empty array, however the current 
> implementation converts to an empty `Object[]` regardless of the target type, 
> for example a `byte[]`. This is clearly wrong as the returned object cannot 
> be assigned to the target type!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to