DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14603>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14603

Switching to JDK 1.4.1 causes IndexOutOfBoundsException on Indexable ActionForm 
Attributes





------- Additional Comments From [EMAIL PROTECTED]  2002-11-18 01:45 -------
Ok, I haven't fully verified this, but I noticed one thing about the
"MaintainThemesForm" that bothers me.

Following this is the "signature" of the class.

public final class MaintainThemesForm extends ActionForm {
    public ArrayList getThemes();
    public Theme getThemes(int i) throws Exception;
    public void setThemes(ArrayList argThemes);
    public String getProjectName();
    public void setProjectName(String argProjectName);
}

Notice that there are TWO accessors for the "themes" property.  One will result
in an IndexedPropertyDescriptor, and the other will not.  I would guess that the
move from 1.4.0 to 1.4.1 changed the order of the returned list of
PropertyDescriptors.  In 1.4.0, it must have ended up with the indexed one
first, and in 1.4.1, it was reversed.

Nevertheless, I conclude the sample is in error, not beanutils.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to