[webbeans-dev] TCK-Test --> ProducerFieldDefinitionTest#testNonStaticProducerFieldNotInherited
Gurkan Erdogdu
gurkanerdogdu at yahoo.com
Sat Mar 14 18:53:23 EDT 2009
Hi ;
In this test, InfertileChicken is selected for Chicken API type, because DeploymentType precedence is higher than Chicken. So *egg* field is called over InfertileChicken.(Field parent instance API Type = Chicken and Binding Type = @Current)
But test is contradicted to this. Or any other semantic exist?
@AnotherDeploymentType
class InfertileChicken extends Chicken
{
}
class Chicken
{
@Produces @Foo
private Egg egg = new Egg(this);
}
Thanks;
Gurkan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20090314/6f486d95/attachment.html
More information about the weld-dev
mailing list