[jboss-cvs] JBossAS SVN: r66429 - trunk/testsuite/src/main/org/jboss/test/aop/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Oct 25 09:41:22 EDT 2007


Author: kabir.khan at jboss.com
Date: 2007-10-25 09:41:21 -0400 (Thu, 25 Oct 2007)
New Revision: 66429

Modified:
   trunk/testsuite/src/main/org/jboss/test/aop/test/AOPClassLoaderHookTestSetup.java
Log:
Archives should be undeployed in the opposite order to which they were deployed. Last deployed, first undeployed.

Modified: trunk/testsuite/src/main/org/jboss/test/aop/test/AOPClassLoaderHookTestSetup.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/test/AOPClassLoaderHookTestSetup.java	2007-10-25 12:37:52 UTC (rev 66428)
+++ trunk/testsuite/src/main/org/jboss/test/aop/test/AOPClassLoaderHookTestSetup.java	2007-10-25 13:41:21 UTC (rev 66429)
@@ -95,7 +95,7 @@
    protected void tearDown() throws Exception
    {
       Exception undeployException = null;
-      for (int i = 0 ; i < jars.length ; i++)
+      for (int i = jars.length -1 ; i >= 0 ; i--)
       {
          try
          {




More information about the jboss-cvs-commits mailing list