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 Summary: MethodUtils.getAccessibleMethod(Method): wrong accessibility check of the class Product: Commons Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Bean Utilities AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If you have a nested class which is not public, you can access methods of this class from the surrounding class: class A { class B { String getHello() { return "hello"; } } public A() { System.out.println((new B()).getHello()); } } Using the class PropertyUtils, you can not get the 'hello' bean property, because in MethodUtils.getAccessibleMethod(Method) the modifiers of B are checked for 'public' accessibility. The test should (not tested...) also fail for classes with package scope. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
