You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/08/09 00:05:02 UTC

DO NOT REPLY [Bug 9806] - MethodUtils.getAccessibleMethod(Method): wrong accessibility check of the class

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9806>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9806

MethodUtils.getAccessibleMethod(Method): wrong accessibility check of the class

craig.mcclanahan@sun.com changed:

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



------- Additional Comments From craig.mcclanahan@sun.com  2002-08-08 22:05 -------
Changing MethodUtils in the manner you suggest would cause many backwards
incompatibilities, because it would cause the wrong declaring class to be
identified in some cases.

As a workaround, you should make your B class implement a public interface that
defines the getHello() method -- then the property will be accessible via
introspection.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>