PropertyAccessBuildingException: Could not locate setter for property named XXX for Java 8 default methods

Description

If the implemented setter is a default Java-8 setter then ReflectHelper#findSetterMethod fails to find it - e.g.:

The problem is that the ReflectHelper#findSetterMethod code scans the interfaces of the top-level class (MyEntity in this example) but not the ones implemented by MySuperclass - so it thinks that setFoo is not implemented.

Environment

None

Status

Assignee

Rodrigo Turini

Reporter

Lyor Goldstein

Fix versions

Labels

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure