[arquillian-issues] [JBoss JIRA] (ARQ-1924) Bad behaviour on Shrinkwrap.addAsServiceProvider

Aslak Knutsen (JIRA) issues at jboss.org
Fri Feb 20 13:16:49 EST 2015


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

Aslak Knutsen commented on ARQ-1924:
------------------------------------

Yeah, the faked class loading done for war's in the weld and owb containers is extremely simplistic..

> Bad behaviour on Shrinkwrap.addAsServiceProvider
> ------------------------------------------------
>
>                 Key: ARQ-1924
>                 URL: https://issues.jboss.org/browse/ARQ-1924
>             Project: Arquillian
>          Issue Type: Bug
>          Components: OpenWebBeans Containers, Weld Containers
>    Affects Versions: 1.0.0.CR8, 1.1.7.Final
>            Reporter: Rafael Benevides
>         Attachments: arquillian-test.zip
>
>
> The attached maven project contains two tests: 
> 1 - ExtensionInJarTest - This adds a Service through .addAsServiceProvider to an JAR that is placed inside a WAR
> 2 - ExtensionInWarTest - This add a Service through .addAsServiceProvider directly to a WAR
> If you run the tests inside Wildfly:
> {code}
> mvn clean test -Parq-wildfly-remote //it works
> {code}
> If you run the tests using Weld or OWB:
> {code}
> mvn clean test -PWeld //it fails on ExtensionInJarTest
> mvn clean test -POWB //it fails on ExtensionInJarTest
> {code}
> The expected behaviour is that Weld and OWB shouldn't fail.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the arquillian-issues mailing list