[
https://issues.apache.org/jira/browse/TAPESTRY-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Gredler updated TAPESTRY-1702:
-------------------------------------
Assignee: Daniel Gredler
Summary: Missing coercion from primitive arrays to List (was: int[] not
coerced into List<Integer>)
This is actually not just about int[], but about all primitive arrays. I've
updated the summary accordingly.
> Missing coercion from primitive arrays to List
> ----------------------------------------------
>
> Key: TAPESTRY-1702
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1702
> Project: Tapestry
> Issue Type: Bug
> Components: tapestry-ioc
> Affects Versions: 5.0.5
> Reporter: Davor Hrg
> Assignee: Daniel Gredler
> Priority: Critical
> Attachments: TAPESTRY-1702.patch
>
>
> int[] does not get not coerced into List of Integers.
> int[] value gets recognized as an object, not an Object[] which is true for
> all primitive type arrays.
> even if it goes to Object[] -> List coercer the code there: Arrays.asList
> will create an
> list containing the array, instead containing the values from the array.
> I've noticed this issue when supplying int[] to loop component ....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]