[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-7963) CDI model is not updated correctly if there are a few related projects.
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Mon Dec 20 12:35:18 EST 2010
CDI model is not updated correctly if there are a few related projects.
-----------------------------------------------------------------------
Key: JBIDE-7963
URL: https://issues.jboss.org/browse/JBIDE-7963
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: cdi (jsr-299)
Affects Versions: 3.2.0.Beta2
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.2.0.CR1
1. Import seam-forge maven projects (see http://seamframework.org/Documentation/SeamForge)
2. Create the following annotation type in forge-shell-api
@NormalScope
@Inherited
@Target({ TYPE, METHOD, FIELD })
@Retention(RUNTIME)
@Documented
public @interface TestScope {}
3. Create the following class in forge-test-harness
public class Test1 extends TestSuper {
@Inject boolean test;
@TestScope
@Produces boolean foo() {
return true;
}
}
4. Test1.test is marked as incorrect injection (non-proxible type of normal scoped bean).
5. Change @NormalScope to @Scope in TestScope.
6. Problem marker still exists. But it should disappear.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list