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

HV-1840 Drop/replace deprecated CDI API usages #1172

Merged
merged 1 commit into from
Jun 21, 2021

Conversation

manovotn
Copy link
Contributor

I was testing WFLY with latest CDI API (4.0.0.Alpha1) where there was a number of removals of long deprecated methods.
See jakartaee/cdi#472

This causes hibernate validator to crash during TCK runs so I had to create a custom artifact and replace it within WFLY - this PR a sum of changes I needed to make it work.

Since you are bound to eventually bounce into the very same issue, I thought I might as well contribute. But whether you accept it or not is OFC completely up to you :-)

Oh and I should note - the current state of this PR will work with CDI 2/3 as well as CDI 4 so there should be no harm in having it applied right away.

@Hibernate-CI
Copy link
Contributor

Can one of the admins add this person to the trusted builders? (reply with: "add to whitelist" or "ok to test")

@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Jun 11, 2021

Thanks for your pull request!

This pull request appears to follow the contribution rules.

› This message was automatically generated.

@gsmet gsmet changed the title Drop/replace deprecated CDI API usages. HV-1840 Drop/replace deprecated CDI API usages Jun 21, 2021
@gsmet
Copy link
Member

gsmet commented Jun 21, 2021

Thanks Matej! I'll wait for CI and merge.

@gsmet gsmet merged commit 24e2cca into hibernate:main Jun 21, 2021
@gsmet
Copy link
Member

gsmet commented Jun 22, 2021

@manovotn let me know if you need a release.

@manovotn
Copy link
Contributor Author

Actually, if that release would then bubble all the way up to wfly, it would be a nice step towards testing some EE 10 changes in-container.
So +1.
There is no need to rush it though, so whenever you aren't too busy :-)

@manovotn manovotn deleted the cdiAdjustments branch November 22, 2021 11:18
@gsmet
Copy link
Member

gsmet commented Dec 14, 2021

@manovotn cough cough. Sorry I only thought about this one again recently and saw your message then. I released 7.0.2.Final today and it contains these changes.

@manovotn
Copy link
Contributor Author

Haha, no problem @gsmet :)

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