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

Replace usage of deprecated beanManager.createInjectionTarget #4933

Merged
merged 1 commit into from
Dec 15, 2021

Conversation

arjantijms
Copy link
Contributor

The BeanManager.createInjectionTarget is deprecated since CDI 1.1 and has been removed in CDI 4. Calling it will result in exceptions when using CDI 4.

Signed-off-by: arjantijms arjan.tijms@gmail.com

Signed-off-by: arjantijms <arjan.tijms@gmail.com>
Copy link
Contributor

@senivam senivam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Regarding #4934 I would rather merge this PR to the 3.1 branch after it's in master (with respect to jakarta related changes), but since the work is already done, the #4934 could be merged directly into the 3.1 branch (conflicts with occasional master merge would be resolved in that case).

@arjantijms
Copy link
Contributor Author

@senivam It should hopefully be alright, as I already cherrypicked it and then resolved the conflicts. Hopefully git is smart enough to see it has already been merged.

Copy link
Contributor

@jansupol jansupol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Arjan

@senivam
Copy link
Contributor

senivam commented Dec 15, 2021

@arjantijms Great then, thanks :)

@senivam senivam merged commit bdb0dd0 into eclipse-ee4j:master Dec 15, 2021
@senivam senivam added this to the 2.36 milestone Jan 3, 2022
This was referenced Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants