[
https://issues.apache.org/jira/browse/MYFACES-3998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14627234#comment-14627234
]
Leonardo Uribe commented on MYFACES-3998:
-----------------------------------------
I did some small changes, instead call
ClassUtils.simpleClassForName("javax.enterprise.inject.spi.CDI"), use another
method to avoid log the exception in this case.
> improve BanManger lookup for CDI-1.1
> ------------------------------------
>
> Key: MYFACES-3998
> URL: https://issues.apache.org/jira/browse/MYFACES-3998
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-344
> Affects Versions: 2.2.8
> Reporter: Mark Struberg
> Assignee: Mark Struberg
>
> We currently do partly unportable stuff to look up the BeanManager. This
> could be replaced by dynamically using CDI.current().get().
> This should be done via reflection to avoid blowing up if no CDI-1.1
> environment is present.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)