[
https://issues.apache.org/jira/browse/MYFACES-3998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14583535#comment-14583535
]
Leonardo Uribe commented on MYFACES-3998:
-----------------------------------------
I think the case we need to keep in mind is there are situations where CDI jars
are shared between web applications. I don't see how CDI.current().get() could
work without a reference that help fix that problem.
> 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)