[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:55:06 EST 2013


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

             Summary: 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č


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
   }
}
{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