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=9868>.
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=9868

BeanUtils.populate() throws IllegalArgumentException when setting indexed property as 
array.

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2002-06-15 21:26 -------
Overloading setter methods violates the JavaBeans design pattern rules, which
therefore causes the Java introspection (used by BeanUtils and PropertyUtils
underneath the covers) to not recognize that this property has a setter method
at all.  That is why it worked when you removed one of them.

You will note that TestBean uses two different property names ("stringArray" and
"stringIndexed") for performing these tests.  Because there is no overloading of
setter method names, the kind of assignment you are talking about works fine.

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

Reply via email to