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=21431>. 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=21431 Wrong PropertyDescriptor found [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Additional Comments From [EMAIL PROTECTED] 2003-08-16 22:55 ------- The reason this happens is that java.beans.Introspector follows a "BeanInfo search path" in order to locate any BeanInfo class that corresponds to a bean, before examining the bean class itself. The default BeanInfo search path includes a package that defines BeanInfo for a class called Component, so this BeanInfo is used for any user class that is also named Component. It would be unreasonable for commons-beanutils to make any changes in the BeanInfo search path that has been set. Therefore, you shoud work around this issue by calling Introspector.setBeanInfoSearchPath() with a list of packages that does not include the standard one (I'd suggest using a zero-length String array so that *no* searching is done), before calling any BeanUtils methods. See the Javadocs for java.beans.Introspector, and the JavaBeans spec, for more information. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
