Details
-
Bug
-
Resolution: Done
-
Major
-
14.0.0.Beta2
-
None
Description
Opentracing CDI extension which registers bean types is using deprecated method which leads to WARNINGs every time it is registered.
2018-08-20 12:24:43,009 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-3) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class org.wildfly.microprofile.opentracing.smallrye.TracerProducer is deprecated from CDI 1.1! 2018-08-20 12:24:43,010 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-3) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class io.smallrye.opentracing.SmallRyeTracingCDIInterceptor is deprecated from CDI 1.1!
Instead of BBD.addAnnotatedType(AnnotatedType<?> type) you should be using BBD.addAnnotatedType(AnnotatedType<?> type, String id).
Will send PR shortly.