Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
blueprint-core-1.6.2
-
None
Description
Blueprint property resolution expects getter and setter methods to use exactly the same class. It should allow setters that take a derived type using isAssignableFrom() instead of equals(). It currently fails for the following:
class A { private X x; public X getX() { return x; } public void setX(X x) { this.x = x; } } class B extends A { public void setX(Y y) { super.setX(y); } // Y extends X }
Trying to set property X for bean B using Blueprint fails.