[ https://issues.apache.org/jira/browse/BEANUTILS-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511973 ]
Henri Yandell commented on BEANUTILS-18: ---------------------------------------- I'm +1 to the view that this is a bug and not a backwards compatibility issue. isReadable should return false if the method is not readable. > [beanutils] PropertyUtils.isReadable() and PropertyUtils.getProperty() not > consistent > ------------------------------------------------------------------------------------- > > Key: BEANUTILS-18 > URL: https://issues.apache.org/jira/browse/BEANUTILS-18 > Project: Commons BeanUtils > Issue Type: Bug > Components: Bean / Property Utils > Environment: Operating System: Windows 2000 > Platform: PC > Reporter: Maarten Coene > Fix For: 1.8.0 > > Attachments: BEANUTILS-18-PropertyUtilsBean.patch, > patch-PropertyUtilsBean.txt, patch-PropertyUtilsTestCase.txt, > PropertyUtilsTest.java > > > Hi, > When the object passed to PropertyUtils is a non-public class, the > PropertyUtils.isReadable() method returns true for an existing property while > the PropertyUtils.getProperty() method for the same property throws a > NoSuchMethodException. > I'll attach a junit test that illustrates the problem. > regards, > Maarten -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]