From: "robert burrell donkin" <[EMAIL PROTECTED]>
> i don't want to support two implementations. i want to create a correct
> implementation in lang that can be used by beanutils and digester. then i
> can deprecate the MethodUtils in beanutils and leave it to rot.
+1

> my main issue with the current MethodUtils API is that it not precise in
> it's definition of expected behaviour. the API does not say 'this methods
> finds conforms to the JLS spec'. since these methods can be called
> directly (rather than just as part of beanutils or digester where the
> required behaviour is clear), this lack precision means that people may
> rely on these features. therefore changing the algorithm might break their
> code.

The comments in [lang] MethodUtils etc. should be tightened. We offer the
equivalent of:
 getMethod() accessible
 getDeclaredMethod() accessible
 getMethod() ignoring scope
 getDeclaredMethod() ignoring scope

The first two should follow the JLS spec. The last two we get to define what
happens.

Stephen


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

Reply via email to