-
Notifications
You must be signed in to change notification settings - Fork 51
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 run -Pagent the reflection-config.json include Test classes #56
Comments
Does it matter if it includes reflection information for classes that are not actually compiled into the application? |
Yeah, native image generation fails because in the classpath those classes are not present. So you have to add the
|
You can use Filtering of classes which are detected during an agent run is done using agent-filter files. Advanced configuration of native-image-agent isn't (at the moment) exposed to the end-user through our plugins (you could work around that by changing JVM parameters when invoking relevant tasks of said build tools).
Also note that if you set |
I opened a new issue about fixing this error message: #65 |
When run:
The reflection-config.json includes test classes, Is there any way to "filter" those classes in the generated file?.
I saw an "agent-filter.json" but there is not documentation about it.
Regards
The text was updated successfully, but these errors were encountered: