-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Workaround graal#3003 by passing IncludeResources via AutomaticFeature #13473
Conversation
Thanks for your pull request! The title of your pull request does not follow our editorial rules. Could you have a look?
|
core/deployment/src/main/java/io/quarkus/deployment/steps/NativeImageAutoFeatureStep.java
Show resolved
Hide resolved
...n/java/io/quarkus/deployment/builditem/nativeimage/NativeImageResourcePatternsBuildItem.java
Outdated
Show resolved
Hide resolved
...n/java/io/quarkus/deployment/builditem/nativeimage/NativeImageResourcePatternsBuildItem.java
Show resolved
Hide resolved
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 but it would be good if someone more specialized on native image generation could review this PR as well. Maybe @machi1990 or @gwenneg?
Me neither, my knowledge on this (especially usage of automatic feature) is basic. Perhaps we could get one of @dmlloyd @zakkak @galderz to review this? |
Any gizmo expert could please review this? |
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.
Added a small comment.
Shouldn't we have a test for that?
Because we are generating code that we don't test? Or is there an existing test for that?
core/deployment/src/main/java/io/quarkus/deployment/steps/NativeImageAutoFeatureStep.java
Outdated
Show resolved
Hide resolved
Yes, there is |
instead of command line argument quarkusio#13472
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 don't feel qualified to comment on the code, but the changes look good to me.
I have also tested the changes with mandrel 20.3.0.0.Beta2 and they do fix the issue with ResourcesITCase
@zakkak our of my curiosity: are there more tests failing on GraalVM/Mandrel 20.3.0? |
Is this still waiting for a Gizmo expert review? (Sorry @gsmet, I don't know if you count as one.) |
I don't really count as one but it's simple enough for me to check :). |
instead of command line argument
Fix #13472