CDI extension uses deprecated method

Description

This results in the following warning in the log:

14:59:16,390 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-1) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class org.hibernate.validator.internal.cdi.interceptor.ValidationInterceptor is deprecated from CDI 1.1!

The new version of this method that also takes a bean id should be used instead.

Environment

None

duplicates

Activity

Show:

Guillaume SmetFebruary 28, 2018 at 3:02 PM

I don't think it's worth doing it in back branches.

6.0.x is OK, that's what matter. Closing.

Gunnar MorlingFebruary 22, 2018 at 7:22 AM

Thanks for reporting, . It's a duplicate of HV-1410, which already has been fixed in HV 6.0. We can backport the fix to 5.x, should we do another release, but I don't think it's worth to do a release just for this.

Out of Date

Details

Assignee

Reporter

Participants

Guillaume Smet
Gunnar Morling
Stuart Douglas

Priority

Created February 22, 2018 at 12:31 AM
Updated February 28, 2018 at 3:02 PM
Resolved February 28, 2018 at 3:02 PM