myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Nicolucci (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-4173) Clean up WELD warnings : WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class
Date Sat, 11 Nov 2017 23:48:00 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-4173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16248728#comment-16248728
] 

Paul Nicolucci commented on MYFACES-4173:
-----------------------------------------

I've attached my proposed changes, I'm running some local tests and if successful and no objections
I'll commit these changes.

> Clean up WELD warnings : WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-4173
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4173
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-372
>    Affects Versions: 2.3.0-beta
>            Reporter: Paul Nicolucci
>            Assignee: Paul Nicolucci
>            Priority: Trivial
>         Attachments: MYFACES-4173.patch
>
>
> When running myfaces with WELD 2.0 I see the following warnings:
> WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used
for class org.apache.myfaces.cdi.view.ViewScopeBeanHolder is deprecated from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.flow.cdi.FlowScopeBeanHolder is deprecated from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.push.cdi.PushContextFactoryBean is deprecated from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.flow.cdi.FlowBuilderFactoryBean is deprecated from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.cdi.config.FacesConfigBeanHolder is deprecated from CDI
1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.push.cdi.WebsocketChannelTokenBuilderBean is deprecated
from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.push.cdi.WebsocketSessionBean is deprecated from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.push.cdi.WebsocketViewBean is deprecated from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.push.cdi.WebsocketApplicationBean is deprecated from CDI
1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.cdi.JsfApplicationArtifactHolder is deprecated from CDI
1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.cdi.model.FacesDataModelClassBeanHolder is deprecated from
CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.flow.cdi.FlowScopeBeanHolder is deprecated from CDI 1.1
> We should clean this up by using BeforeBeanDiscover.addAnnotatedType(AnnotatedType<?>,
String id): https://javaee.github.io/javaee-spec/javadocs/javax/enterprise/inject/spi/BeforeBeanDiscovery.html#addAnnotatedType-javax.enterprise.inject.spi.AnnotatedType-java.lang.String-



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message