]
Flavia Rainone commented on JBAOP-718:
--------------------------------------
The bug also happens at Advisor.resolveConstructorPointcut method
ArrayIndexOutOfBoundsException on
Advisor.updateConstructorPointcutAfterRemove
------------------------------------------------------------------------------
Key: JBAOP-718
URL:
https://jira.jboss.org/jira/browse/JBAOP-718
Project: JBoss AOP
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.1.0.CR3
Reporter: Flavia Rainone
Assignee: Flavia Rainone
Fix For: 2.1.1.GA
Apparently, the number of constructors is not the same as the number of constructor
infos, which causes a ArrayIndexOutOfBoundsException at line 1432:
if(constructorInfos != null && constructorInfos.length > 0)
{
for (int i = 0; i < constructors.length; i++)
{
1432---> constructorInfos[i].resetInterceptors();
Constructor<?> constructor = constructors[i];
if (binding.getPointcut().matchesExecution(this, constructor))
{
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: