[
https://issues.jboss.org/browse/ARQ-1598?page=com.atlassian.jira.plugin.s...
]
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