https://bz.apache.org/bugzilla/show_bug.cgi?id=63898

--- Comment #4 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to Mark Thomas from comment #3)
> Anything is possible but it would require essentially re-implementing the
> JavaBean Introspection code. The effort required seems out of proportion to
> the size problem.

Of course: yuck.

Instead of:

Method m = IntrospectionUtils.getTheOneTrueSetterMethod(...);

Can we call:

Method[] candidates = IntrospectionUtils.getTheListOfCandidateMethods(...);

... and then throw an error if candidates.length != 1?

That would be a relatively minor change but catch lots of these errors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to