Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
1.9.4
-
None
-
BeanUtils 1.9.4
JDK11
Description
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.