Unable to enhance class with @MappedSuperclass and @Embeddable: [source error] Field XXX in YYY is private

Description

An AbstractClass annotated with @MappedSuperClass contains an @Embedded private field (with public getter and setter). A ConcreteClass extends this AbstractClass. (See attached project).

While executing the enhanced on that project, I get the following error:

If I replace the @Embedded field with a simple integer. There is no problem to enhance the class.

Environment

None

Assignee

Unassigned

Reporter

Jérôme Joslet

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure