[jboss-cvs] JBossAS SVN: r75551 - projects/aop/trunk/asintegration/src/main/org/jboss/aop/deployers.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jul 9 10:12:44 EDT 2008


Author: kabir.khan at jboss.com
Date: 2008-07-09 10:12:43 -0400 (Wed, 09 Jul 2008)
New Revision: 75551

Modified:
   projects/aop/trunk/asintegration/src/main/org/jboss/aop/deployers/AspectDeployer.java
Log:
[JBAOP-613] Unwinding of deployment causes IndexOutOfBoundsException

Modified: projects/aop/trunk/asintegration/src/main/org/jboss/aop/deployers/AspectDeployer.java
===================================================================
--- projects/aop/trunk/asintegration/src/main/org/jboss/aop/deployers/AspectDeployer.java	2008-07-09 13:49:21 UTC (rev 75550)
+++ projects/aop/trunk/asintegration/src/main/org/jboss/aop/deployers/AspectDeployer.java	2008-07-09 14:12:43 UTC (rev 75551)
@@ -239,7 +239,7 @@
          catch (Exception e)
          {
             //Unwind things already installed, in the reverse order
-            for (int i = deployedFiles.size() ; i >= 0 ; i-- )
+            for (int i = deployedFiles.size() - 1; i >= 0 ; i-- )
             {
                undeployAnnotation(loader, deployedFiles.get(i));
             }




More information about the jboss-cvs-commits mailing list