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 32653] - [beanutils] Beans and Maps mixed up in PropertyUtils
Date Sun, 12 Dec 2004 19:56:43 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=32653>.
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=32653


craig.mcclanahan@sun.com changed:

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




------- Additional Comments From craig.mcclanahan@sun.com  2004-12-12 20:56 -------
It is far too late to make a fundamental change in the architecture of a module
that has its current behavior relied on by many thousands of existing
applications.  At best, you should think of this as an RFE for some additional
classes that have different behavior.  The current architecture was deliberately
designed to solve the problems it does solve, and it continues to do so.

However, you are also starting from an incorrect assumption that what you want
to achieve is not possible with the current architecture.  Simply program the
get and put methods of your Map implementation to call through to the
corresponding getters and setters for keys that are the properties of this
class, and do the normal thing for keys that are not properties.  You can do
this for specific classes fairly easily, or you can use the solution provided by
org.apache.commons.chain.impl.ContextBase that does this thing generally (using
reflection to identify what's a property and what's not).


-- 
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