Joseph created BEANUTILS-542:
--------------------------------

             Summary: "type mismatch between read and write methods" while 
using inheritance
                 Key: BEANUTILS-542
                 URL: https://issues.apache.org/jira/browse/BEANUTILS-542
             Project: Commons BeanUtils
          Issue Type: Bug
          Components: Bean / Property Utils
    Affects Versions: 1.9.3
         Environment: BeanUtils 1.9.4

JDK11
            Reporter: Joseph


After upgrading from 1.9.0 -> 1.9.4 as well as upgrading our JDK from 8 -> 11 
we noticed some odd behavior differences. Before when copying properties all 
getters and setters were able to be created however now if a getter and setters 
type mismatch they do not get created even if one is a child class of the 
other. In our example we have the two methods public Fruit getFruit() and 
public void setFruit(Banana b). Banana extends Fruit making of type Fruit. 
However the instrospector cannot make this determination like it used to be 
able to. This is essential as we have a getter set up with the parent type 
within an abstract class. The child class of the abstract has a setter, but no 
getter.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to