Skip to content
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

@BindToRegistry fields need to be explicitly registered for reflection in order to work in native mode #867

Closed
aldettinger opened this issue Mar 10, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@aldettinger
Copy link
Contributor

No description provided.

@aldettinger
Copy link
Contributor Author

The issue could be reproduced in mustache itests, just comment this line.
Then run mvn clean verify -P native.

@lburgazzoli
Copy link
Contributor

There should not be the need to register the class for reflection as it is already done by the native image processor, https://github.com/apache/camel-quarkus/blob/master/extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/NativeImageProcessor.java#L227-L229

@aldettinger aldettinger added the bug Something isn't working label Mar 10, 2020
@aldettinger aldettinger self-assigned this Mar 10, 2020
aldettinger added a commit to aldettinger/camel-quarkus that referenced this issue Mar 11, 2020
aldettinger added a commit to aldettinger/camel-quarkus that referenced this issue Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants