commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28358] - [beanutils] Problems on indexed property with JDK 1.4
Date Fri, 28 Jan 2005 01:24:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28358>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28358





------- Additional Comments From niallp@apache.org  2005-01-28 02:24 -------
Created an attachment (id=14121)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14121&action=view)
[PATCH] PropertyUtilsBean - workaround for JDK issues

This patch is a workaround for the issue of IndexedPropertyDescriptor behaving
differently in different JDK versions.

It changes the PropertyUtilsBean's getPropertyDescriptors() method so that if
the getReadMethod() or getWriteMethod() of an IndexedPropertyDescriptor returns
null, it checks for read/write methods that use a java.util.List and if found
sets the read/write methods on the PropertyDescriptor.

Any feedback on this patch would be appreciated and I'm hoping at least one of
the other BeanUtils committers will give feedback before I commit this.

Niall

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message