You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "William Lieurance (JIRA)" <ji...@apache.org> on 2018/02/12 01:49:00 UTC
[jira] [Created] (TAMAYA-329) PropertyConverterManager cannot box
arrays of booleans
William Lieurance created TAMAYA-329:
----------------------------------------
Summary: PropertyConverterManager cannot box arrays of booleans
Key: TAMAYA-329
URL: https://issues.apache.org/jira/browse/TAMAYA-329
Project: Tamaya
Issue Type: Bug
Reporter: William Lieurance
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)
Re: [jira] [Created] (TAMAYA-329) PropertyConverterManager cannot box
arrays of booleans
Posted by "P. Ottlinger" <po...@apache.org>.
Thanks for spotting the mistake - I merged the PR but am unable to login
to Jira to close the bugticket and give it a proper version.
Sorry,
Phil
Am 12.02.2018 um 02:49 schrieb William Lieurance (JIRA):
> William Lieurance created TAMAYA-329:
> ----------------------------------------
>
> Summary: PropertyConverterManager cannot box arrays of booleans
> Key: TAMAYA-329
> URL: https://issues.apache.org/jira/browse/TAMAYA-329
> Project: Tamaya
> Issue Type: Bug
> Reporter: William Lieurance
>
>
> 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)
>