[ https://issues.apache.org/jira/browse/BEANUTILS-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niall Pemberton updated BEANUTILS-18: ------------------------------------- Attachment: BEANUTILS-18-PropertyUtilsBean.patch As well as PropertyUtilsBean's isReadable() and isWriteable() methods the indexed and mapped get/set methods are also missing the checks that the simple get/set methods use. Attaching a patch for review > [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]