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

Package scope implementation of public interface for mapped property fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.8.0
    • Bean / Property Utils
    • None
    • Operating System: All
      Platform: PC

    • 33228

    Description

      In the following case, access to mapped property fails by IllegalAccessException.

      Assume that 'bean' is an instance of package scoped class
      which implements public interface 'I', and interface 'I' has
      a method 'getValue(String key)'.
      In the case PropertyUtils.getProperty(bean, "value(key)") is called,
      IllegalAccessException occures.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--mapped.patch
          2 kB
          Nacho G. Mac Dowell
        2. ASF.LICENSE.NOT.GRANTED--mappedTest.patch
          3 kB
          Nacho G. Mac Dowell
        3. ASF.LICENSE.NOT.GRANTED--test.tar.gz
          0.5 kB
          YOKOTA Takehiko
        4. ASF.LICENSE.NOT.GRANTED--test2.tar.gz
          0.5 kB
          YOKOTA Takehiko

        Activity

          People

            niallp Niall Pemberton
            takehiko.yokota@toshiba.co.jp YOKOTA Takehiko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: