You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Philipp Ottlinger (JIRA)" <ji...@apache.org> on 2018/02/13 22:26:00 UTC

[jira] [Resolved] (TAMAYA-329) PropertyConverterManager cannot box arrays of booleans

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

Philipp Ottlinger resolved TAMAYA-329.
--------------------------------------
       Resolution: Fixed
         Assignee: Philipp Ottlinger
    Fix Version/s: 0.4-incubating

Thanks

> PropertyConverterManager cannot box arrays of booleans
> ------------------------------------------------------
>
>                 Key: TAMAYA-329
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-329
>             Project: Tamaya
>          Issue Type: Bug
>    Affects Versions: 0.3-incubating
>            Reporter: William Lieurance
>            Assignee: Philipp Ottlinger
>            Priority: Major
>             Fix For: 0.4-incubating
>
>
> Super simple.  There's a mapBoxedType method in org.apache.tamaya.spisupport.PropertyConverterManager that lists off primitive types, then arrays of primitive types with equivalent boxed types.  The second "boolean" entry didn't get array markers, so it effectively checks for straight boolean twice and boolean[] never.
> Easy patch and test on github.



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