[
https://issues.jboss.org/browse/CDITCK-265?page=com.atlassian.jira.plugin...
]
Martin Kouba resolved CDITCK-265.
---------------------------------
Fix Version/s: 1.1.0.CR1
Resolution: Done
Test fixed.
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
Fix For: 1.1.0.CR1
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