[arquillian-issues] [JBoss JIRA] (ARQ-2039) The Weld Arquillian embedded adapter should not load classes that are excluded in beans.xml

Tomas Remes (JIRA) issues at jboss.org
Tue Aug 30 06:48:00 EDT 2016


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

Tomas Remes updated ARQ-2039:
-----------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/arquillian/arquillian-container-weld/pull/29


> The Weld Arquillian embedded adapter should not load classes that are excluded in beans.xml
> -------------------------------------------------------------------------------------------
>
>                 Key: ARQ-2039
>                 URL: https://issues.jboss.org/browse/ARQ-2039
>             Project: Arquillian
>          Issue Type: Enhancement
>          Components: Weld Containers
>    Affects Versions: 2.0.0.Beta1
>            Reporter: Antonin Stefanutti
>            Assignee: Tomas Remes
>
> In some use cases, like the Camel CDI extension, some classes are excluded in the beans.xml and may not be in the class path. In that case, that leads to having a {{ClassNotFoundException}} thrown by the adapter that tries to load the bean classes regardless the exclusions from the bean archive descriptor: 
> https://github.com/arquillian/arquillian-container-weld/blob/d8f69bed899ed027ab271ba1c83a07ea51f58eb8/src/main/java/org/jboss/arquillian/container/weld/embedded/Utils.java#L151-L160



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


More information about the arquillian-issues mailing list