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





------- Additional Comments From [EMAIL PROTECTED]  2005-11-11 09:31 -------
I just added a test case to try and reproduce this:

   http://svn.apache.org/viewcvs?rev=332485&view=rev

...with the following method signatures:

    public Long getDifferentTypes(String key) {
    public void setDifferentTypes(String key, Integer value) {  

...and it worked as expected, the getter method being found and the setter not 
found.

Could you supply more specific information please...

1) The message you're getting with the IntrospectionException.
2) The actual method signatures - what class are "Value" and "Property"?
3) How are you using MappedPropertyDescriptor - which constructor?

> When trying to create a MappedPropertyDescriptor for a mapped property with an
> "invalid" setter method, an IntrospectionException is thrown. E.g. I have a
> class with the methods:

What was the message you got for the IntrospectionException?

> After some debugging I found that
> MappedPropertyDescriptor#internalFindMethod(Class, String, int, Class[]) calls
> MappedPropertyDescriptor#internalFindMethod(Class, String, int) for the class'
> interfaces. So it misses the parameter which specifies the method's argument
> classes. I think the way it's meant to be is to use
> MappedPropertyDescriptor#internalFindMethod(Class, String, int, Class[]) for
> that call, too.

This code has been refactored recently, but I ran my test against the current 
and previous versions and both worked.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to