-
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
Add initializer method validation to ArC #23177
Add initializer method validation to ArC #23177
Conversation
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building b6e2896
Failures⚙️ Initial JDK 11 Build #- Failing: independent-projects/arc/tests
📦 independent-projects/arc/tests✖ |
independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/Injection.java
Outdated
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.
I've added one minor comment. Otherwise looks perfect. Thanks!
8794a9f
to
67f250c
Compare
67f250c
to
124a552
Compare
I would like it to bake a bit before we consider backporting it. |
What do you mean "bake a bit"? This PR merely adds some validations that are required by the spec (and are tested by the TCK). No one should ever use this combination of annotations. That said, I don't mind if we postpone backporting after 2.7.0.Final 😉 |
Fixes #23174
In addition to #23174, this PR also adds other validations the CDI specification prescribes for initializer methods (i.e., not just producers, but also disposers and observers).