Uploaded image for project: 'Commons BeanUtils'
  1. Commons BeanUtils
  2. BEANUTILS-451

PropertyUtils doesn´t work with private internal classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 1.8.3
    • 2.0.0
    • Bean / Property Utils
    • None

    Description

      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".

      Attachments

        Activity

          People

            Unassigned Unassigned
            robsonfarias Robson Vargas Farias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: