[cdi-dev] [JBoss JIRA] (CDI-573) Review code of CDI class to switch to ServiceLoader

Michael Remijan (JIRA) issues at jboss.org
Fri May 13 20:37:00 EDT 2016


    [ https://issues.jboss.org/browse/CDI-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237709#comment-13237709 ] 

Michael Remijan edited comment on CDI-573 at 5/13/16 8:36 PM:
--------------------------------------------------------------

Hi Antoine.  If I read these comments correctly, will CDI.getCDIProvider() visibility be back to public in Weld 3.0.0.Alpha17?  Because I just tried updating to Weld 3.0.0.Alpha16 and ran into getCDIProvider() no longer being visible.  Thanks!



was (Author: mjremijan):
Hi Antonie.  If I read these comments correctly, will CDI.getCDIProvider() visibility be back to public in Weld 3.0.0.Alpha17?  Because I just tried updating to Weld 3.0.0.Alpha16 and ran into getCDIProvider() no longer being visible.  Thanks!


> Review code of CDI class to switch to ServiceLoader
> ---------------------------------------------------
>
>                 Key: CDI-573
>                 URL: https://issues.jboss.org/browse/CDI-573
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Concepts
>    Affects Versions: 2.0-EDR1
>            Reporter: Antoine Sabot-Durand
>            Assignee: Antoine Sabot-Durand
>             Fix For: 2.0 (proposed)
>
>
> Right now {{CDI}} seems to mimics the JDK service loader mechanism in the the private {{findAllProviders}} method.
> In order to get rid of useless code in the API and to limit compatibility issues with JDK9 and jigsaw, I think we should change this code and use Service Loader instead of doing something similar. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list