[jboss-jira] [JBoss JIRA] Reopened: (JBAOP-726) ArgumentsTestCase relies on non-deterministic behavior
Flavia Rainone (JIRA)
jira-events at lists.jboss.org
Wed May 6 10:36:47 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAOP-726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flavia Rainone reopened JBAOP-726:
----------------------------------
The order of advice execution should be the same as the order the advice are declared in the jboss-aop.xml file.
Hence, the ArgumentTestCase didn't rely on a non-deterministic behavior at all. Instead, what we are looking at is a bug, because the advice are being called in an order different from the declaration order.
I'm not rolling back the changes done as part of this task, because adding precedence declarations to the test evidenced JBAOP-728 bug.
Instead, I'll duplicate the test, and add tests for that as well inside precedence package.
> ArgumentsTestCase relies on non-deterministic behavior
> ------------------------------------------------------
>
> Key: JBAOP-726
> URL: https://jira.jboss.org/jira/browse/JBAOP-726
> Project: JBoss AOP
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.1.0.GA
> Reporter: Flavia Rainone
> Assignee: Flavia Rainone
> Fix For: 2.1.1.GA
>
>
> ArgumentsTestCase relies on the order of advice being called being equal to the order bindings are declared.
> This used to be true, but is not true anymore, since JBAOP-720.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list