Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-2039

The Weld Arquillian embedded adapter should not load classes that are excluded in beans.xml

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • weld_2.0.0.Beta3
    • 2.0.0.Beta1
    • Weld Containers
    • None

      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

              tremes1@redhat.com Tomas Remes
              astefanu@redhat.com Antonin Stefanutti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: