[jboss-cvs] JBossAS SVN: r69707 - trunk/system-jmx/src/main/org/jboss/system/deployers.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Feb 7 16:10:07 EST 2008


Author: scott.stark at jboss.org
Date: 2008-02-07 16:10:07 -0500 (Thu, 07 Feb 2008)
New Revision: 69707

Modified:
   trunk/system-jmx/src/main/org/jboss/system/deployers/HackClassloaderMetaDataDeployer.java
Log:
Guard against null classLoading in undeploy

Modified: trunk/system-jmx/src/main/org/jboss/system/deployers/HackClassloaderMetaDataDeployer.java
===================================================================
--- trunk/system-jmx/src/main/org/jboss/system/deployers/HackClassloaderMetaDataDeployer.java	2008-02-07 21:09:36 UTC (rev 69706)
+++ trunk/system-jmx/src/main/org/jboss/system/deployers/HackClassloaderMetaDataDeployer.java	2008-02-07 21:10:07 UTC (rev 69707)
@@ -134,6 +134,7 @@
 
    public void internalUndeploy(DeploymentUnit unit)
    {
-      classLoading.removeDeploymentUnit(unit);
+      if(classLoading != null)
+         classLoading.removeDeploymentUnit(unit);
    }
 }




More information about the jboss-cvs-commits mailing list