-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Do not discover properties resource in the classpath to avoid missing resources registration in native mode #44910
base: main
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
CI failures seem related |
Yes |
I was expecting more actually :) |
74e2236
to
8cbb860
Compare
This comment has been minimized.
This comment has been minimized.
🎊 PR Preview 3554bbc has been successfully built and deployed to https://quarkus-pr-main-44910-preview.surge.sh/version/main/guides/
|
This comment has been minimized.
This comment has been minimized.
… resources registration in native mode
8cbb860
to
784a1fe
Compare
Status for workflow
|
Status for workflow
|
Disable automatic discovery of configuration resources in native mode.
While it has always been enabled, it didn't have any effect because we never registered the resources in the native image. The configuration still worked, because we recorded the configuration during build time.
I did try to disable it as well for JVM mode, but it is a bit more tricky:
Ideally, both JVM and native mode should be the same, but at the moment they're not. While this doesn't solve that particular issue, it should at least fix the missing registration warnings / errors without changing the current behaviour.
Alternate proposal to #42140.