Beanmapper v3.0.1 Release Notes

Release Date: 2018-07-19 // over 3 years ago
  • 🛠 Fixed

    • Issue #118, Nested ParameterizedTypes throws a ClassCastException; when a type is a nested generic (eg, List>) it threw a ClassCastException, even if no mapping took place. Fixed by checking the Type in AbstractBeanPropertyClass and calling for rawType if it concerns a ParameterizedType.
    • Issue #116, Mappable nested classes analyzed for wrong direction; when dealing with a mappable nested class, the applied direction is used as-is. This resulted in errors when the field could only be accessed through a method accessor and that the complementing method accessor was not available (ie, get and no set, or set and no get). The problem has been fixed by inverting the method direction on dealing with a mappable nested class.