It's this
KernelScopeInfo:: updateConstructorAnnotations(repository,
(ComponentMutableMetaData) mutable, kernelContext, add);
that is the culprit.
I've added this code to escape illegal checks against external factory:
| // TODO - Kabir check if this is OK?
| // we don't handle external factories
| if (constructorMetaData.getFactory() != null ||
constructorMetaData.getFactoryClass() != null)
| return;
|
Although now I get this failures:
|
testInjectMcBeanIntoField(org.jboss.test.kernel.webbeans.mctowb.test.InjectMcBeansInWebBeansTestCase)
|
testInjectMcBeanIntoConstructor(org.jboss.test.kernel.webbeans.mctowb.test.InjectMcBeansInWebBeansTestCase)
|
testInjectMcMethodProducedBeanIntoField(org.jboss.test.kernel.webbeans.mctowb.test.InjectMcBeansInWebBeansTestCase)
|
testSimple(org.jboss.test.kernel.webbeans.beanwrapper.test.BeanImplementationTestCase)
|
testDecoratedType(org.jboss.test.kernel.webbeans.beanwrapper.test.BeanImplementationTestCase)
Which I need to check if they are related.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255944#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...