commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robson Vargas Farias (JIRA)" <>
Subject [jira] [Created] (BEANUTILS-451) PropertyUtils doesn´t work with private internal classes
Date Fri, 01 Nov 2013 11:33:17 GMT
Robson Vargas Farias created BEANUTILS-451:

             Summary: PropertyUtils doesn´t work with private internal classes
                 Key: BEANUTILS-451
             Project: Commons BeanUtils
          Issue Type: Bug
          Components: Bean / Property Utils
    Affects Versions: 1.8.3
            Reporter: Robson Vargas Farias
            Priority: Critical

I did a test using a internal private class to get the value of the fields. Sample:

public class Master {

private class Internal {
private String field;

public String getField() { return field; }
public void setField(String field) {
this.field = field;

When I try: PropertyUtils.getProperty(myInternalInstance, "field") I got an exception about
"field not found".

This message was sent by Atlassian JIRA

View raw message