[weld-issues] [JBoss JIRA] (CDITCK-265) ProducerFieldLifecycleTest broken
Jozef Hartinger (JIRA)
jira-events at lists.jboss.org
Sun Jan 15 10:49:18 EST 2012
[ https://issues.jboss.org/browse/CDITCK-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jozef Hartinger reassigned CDITCK-265:
--------------------------------------
Assignee: Martin Kouba
> ProducerFieldLifecycleTest broken
> ---------------------------------
>
> Key: CDITCK-265
> URL: https://issues.jboss.org/browse/CDITCK-265
> Project: CDI TCK
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Jozef Hartinger
> Assignee: Martin Kouba
>
> org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.TarantulaConsumer defines the following injection point:
> {code:JAVA}
> @Inject
> @Any
> private Tarantula consumedTarantula;
> {code}
> however, there are multiple beans eligible to the injection point and therefore the deployment fails with AmbiguousDependencyResolutionException:
> {noformat}
> WELD-001409 Ambiguous dependencies for type [Tarantula] with qualifiers [@Any] at injection point [[field] @Inject @Any private org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.TarantulaConsumer.consumedTarantula]. Possible dependencies [[Managed Bean [class org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.DefangedTarantula] with qualifiers [@Any @Default], Producer Field [Tarantula] with qualifiers [@Any @Static] declared as [[field] @Static @Produces public static org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.StaticTarantulaProducer.produceTarantula], Managed Bean [class org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.Tarantula] with qualifiers [@Any @Default], Producer Field [Tarantula] with qualifiers [@Any @Default] declared as [[field] @Produces public org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.SpecializedTarantulaProducer.produceTarantula]]]
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list