[ http://mc4j.org/jira/browse/STS-291?page=all ]

Tim Fennell updated STS-291:
----------------------------

    Comment: was deleted

> InputHiddenTag (and potentially other places) cast all arrays to Object[] 
> causing class cast exceptions for primitive arrays
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: STS-291
>                 URL: http://mc4j.org/jira/browse/STS-291
>             Project: Stripes
>          Issue Type: Bug
>    Affects Versions: Release 1.4, Release 1.4.1
>            Reporter: Tim Fennell
>         Assigned To: Tim Fennell
>            Priority: Minor
>             Fix For: Release 1.4.2
>
>
> The correct way to iterate over an arbitrary array is:
>         int len = Array.getLength(foo);
>         for (int i=0; i<len; ++i) {
>             Object bar = Array.get(foo, i);
>         }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to