[jboss-jira] [JBoss JIRA] Created: (JBAOP-436) Empty Constructor Chain on Generated Advisor Mode
Flavia Rainone (JIRA)
jira-events at lists.jboss.org
Wed Jul 11 10:24:31 EDT 2007
Empty Constructor Chain on Generated Advisor Mode
-------------------------------------------------
Key: JBAOP-436
URL: http://jira.jboss.com/jira/browse/JBAOP-436
Project: JBoss AOP
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.alpha5
Reporter: Flavia Rainone
Constructor chain is null if we add a binding like the following one:
AdviceBinding binding = new AdviceBinding("!execution(* org.jboss.test.aop.dynamicgenadvisor.POJO->@org.jboss.test.aop.dynamicgenadvisor.NewAnnotation(..))", null);
binding.addInterceptor(DummyInterceptor.class);
AspectManager.instance().addBinding(binding);
The error is also reproducible with this pointcut expression: "execution(org.jboss.test.aop.dynamicgenadvisor.POJO->*(..))"
But not with "execution(org.jboss.test.aop.dynamicgenadvisor.POJO->new(..))".
What happens is that initializeConstructorChain doesn't create a constructor chain, probably due to some inner mechanism of generated class advisors.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list