[arquillian-issues] [JBoss JIRA] (ARQ-1598) Warp on WildFly: CDI fails to inject into inspection that is inner static class

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Thu Dec 5 03:59:06 EST 2013


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

Lukáš Fryč updated ARQ-1598:
----------------------------

    Fix Version/s: warp_1.0.0.Alpha6

    
> Warp on WildFly: CDI fails to inject into inspection that is inner static class
> -------------------------------------------------------------------------------
>
>                 Key: ARQ-1598
>                 URL: https://issues.jboss.org/browse/ARQ-1598
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Warp
>    Affects Versions: warp_1.0.0.Alpha5
>         Environment: WildFly 8.0.0.Beta2-SNAPSHOT
>            Reporter: Lukáš Fryč
>             Fix For: warp_1.0.0.Alpha6
>
>
> When class is inner static class:
> {code}
> public class MyTest {
>    @Test
>    public void test1() {
>       Warp....inspect(new MyInspection());
>       Warp....inspect(new MyInspection()); // fails
>    }
>    @Test
>    public void test2() {
>        Warp....inspect(new MyInspection()); // fails
>    }
>    public static class MyInspection() {
>    }
> }
> {code}
> the first inspection pass, but all subsequent inspections fails in the scope of one deployment.
> ----
> I think that is because the class is already loaded in classloader and its scanning might be cached by Weld.
> ----
> A issue was originally reproduced and reported here:
> https://issues.jboss.org/browse/RF-13417

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list