[weld-issues] [JBoss JIRA] Created: (CDITCK-224) Missing injection points for CircularDependencyTest
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Tue Jul 12 18:55:23 EDT 2011
Missing injection points for CircularDependencyTest
---------------------------------------------------
Key: CDITCK-224
URL: https://issues.jboss.org/browse/CDITCK-224
Project: CDI TCK
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Tests
Affects Versions: 1.0.4.Final
Reporter: Alexey Kazakov
It looks like that some beans tested by CircularDependencyTest miss injection points.
See org.jboss.jsr299.tck.tests.lookup.circular.NormalSelfConsumingNormalProducer, org.jboss.jsr299.tck.tests.lookup.circular.DependentSelfConsumingNormalProducer, org.jboss.jsr299.tck.tests.lookup.circular.NormalSelfConsumingDependentProducer
For instance there is a field *@SelfConsumingNormal1 Violation violation* in DependentSelfConsumingNormalProducer:
{code}
class DependentSelfConsumingNormalProducer
{
@SelfConsumingNormal1 Violation violation;
@Produces @ApplicationScoped @SelfConsumingNormal1
public Violation produceViolation() {
return new Violation();
}
public void ping() {
}
}
{code}
which should be declared as an injection point: *@Inject* @SelfConsumingNormal1 Violation violation
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list