Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.0
-
None
Description
When you do something like:
TestBean anonymous = new TestBean() {
public String getStringProperty()
};
PropertyUtils.getProperty(anonymous, "stringProperty");
PropertyUtils fails as:
java.lang.NoSuchMethodException: Property 'stringProperty' has no getter method in class 'class org.apache.commons.beanutils.PropertyUtilsTestCase$1'
Attachments
Attachments
Issue Links
- is depended upon by
-
BEANUTILS-157 Beanutils's describe() method cannot determine reader methods for anonymous class
- Closed