[arquillian-issues] [JBoss JIRA] (ARQ-2039) The Weld Arquillian embedded adapter should not load classes that are excluded in beans.xml
Antonin Stefanutti (JIRA)
issues at jboss.org
Thu Aug 18 09:17:01 EDT 2016
Antonin Stefanutti created ARQ-2039:
---------------------------------------
Summary: 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
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