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(
)
@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()
}
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.