3 Replies Latest reply on Mar 26, 2008 11:20 AM by Adrian Brock

    Possible regression in aop?

    Adrian Brock Master

      If you look at the following test in deployers:
      http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-deployers/trunk/deployers-impl/src/tests/org/jboss/test/deployers/scope/test/LoaderMetaDataRepositoryUnitTestCase.java?revision=70660&view=markup
      it uses the AOPProxyFactory to test that deployments are getting constructed
      with the correct scope/metadata, but it is currently failing with the latest aop upgrade.

      This is the deployer that creates the proxy
      http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-deployers/trunk/deployers-impl/src/tests/org/jboss/test/deployers/scope/support/TestComponentCreator.java?revision=70660&view=markup
      I've confirmed that the metadata passed to the proxy factory has the annotation,
      but its not triggering the advice getting called when it invokes upon the proxy.

      That this test fails is not a big issue, since nobody is really using the scoped
      metadata setup by the deployers, but it could be indicitive of some other problem in aop
      (assuming its not a broken test that just happened to work before by some fluke? ;-)