[jboss-dev-forums] [JBoss Microcontainer Development POJO Server] - Re: kernel unit test failures
kabir.khan@jboss.com
do-not-reply at jboss.com
Mon Sep 21 06:01:08 EDT 2009
"alesj" wrote : 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;
| |
|
I might want to allow wb injection into factory method parameters later, but for now this looks ok.
"alesj" wrote :
| Although now I get this failures:
|
They're not related to your fix. When getting this up and running I was relying on WB implementation details, WB has since been refactored so these are due to NoClassDefErrors. I'm working on a stable spi in WB itself to replace this. For now, I've disabled the webbeans-int tests.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256112#4256112
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256112
More information about the jboss-dev-forums
mailing list