History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: STS-291
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Tim Fennell
Reporter: Tim Fennell
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Stripes

InputHiddenTag (and potentially other places) cast all arrays to Object[] causing class cast exceptions for primitive arrays

Created: 24/Oct/06 04:53 AM   Updated: 13/Mar/07 04:33 AM
Component/s: None
Affects Version/s: Release 1.4 , Release 1.4.1
Fix Version/s: Release 1.4.2


 Description  « Hide
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);
        }


 All   Comments   Change History      Sort Order:
Tim Fennell [24/Oct/06 05:32 PM]
Fixed.