[weld-issues] [JBoss JIRA] Updated: (WELD-331) Stop using exceptions for flow control in DefaultServiceLoader, it is a mess

Vladimir Tsanev (JIRA) jira-events at lists.jboss.org
Fri Jan 22 06:54:19 EST 2010


     [ https://jira.jboss.org/jira/browse/WELD-331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Tsanev updated WELD-331:
---------------------------------

    Attachment: DefaultServiceLoader.java.diff


Here is a simple patch that makes the code little bit more readable, but does essentially the same logical thing. Unless that it logs every exception if a service cannot be loaded.

> Stop using exceptions for flow control in DefaultServiceLoader, it is a mess
> ----------------------------------------------------------------------------
>
>                 Key: WELD-331
>                 URL: https://jira.jboss.org/jira/browse/WELD-331
>             Project: Weld
>          Issue Type: Feature Request
>          Components: Reflection layer
>            Reporter: Pete Muir
>             Fix For: 1.0.2.CR1
>
>         Attachments: DefaultServiceLoader.java.diff
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list