-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When class is annotated with @MappedSuperclass, its private fields can't be accessed from JPA with native image #2127
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have done a big change in HelidonReflectionFeature (switching to a scanning tool and no longer using unsupported APIs in this class).
@ljnelson could you please review as well to make sure we use as much of the API as possible (and in the right way). Thanks |
…s properly. Signed-off-by: Tomas Kraus <Tomas.Kraus@oracle.com>
Applied this patch on top of the master branch and see tests failures with native image. All of them have the same cause:
This is what google knows about this exception: But City |
Signed-off-by: Tomas Kraus <Tomas.Kraus@oracle.com>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Added set of jUnit tests to demonstrate this issue and verify that it's fixed.
Fixed native image support to process @MappedSuperclass private fields properly.