Author: pete.muir(a)jboss.org
Date: 2008-04-08 08:06:55 -0400 (Tue, 08 Apr 2008)
New Revision: 7873
Modified:
branches/Seam_2_0/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java
trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java
Log:
JBSEAM-2812, thanks to Dan Allen
Modified:
branches/Seam_2_0/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java
===================================================================
---
branches/Seam_2_0/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java 2008-04-08
12:03:18 UTC (rev 7872)
+++
branches/Seam_2_0/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java 2008-04-08
12:06:55 UTC (rev 7873)
@@ -58,6 +58,7 @@
}
else
{
+ if (super.isFromHotDeployClassLoader(componentClass)) return true; //Java
ClassLoader classClassLoader = componentClass.getClassLoader().getParent();
//Groovy use an Inner Delegate CL
return classClassLoader == getClassLoader() || classClassLoader ==
getClassLoader().getParent();
}
Modified: trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java
===================================================================
--- trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java 2008-04-08
12:03:18 UTC (rev 7872)
+++ trunk/src/main/org/jboss/seam/deployment/GroovyHotDeploymentStrategy.java 2008-04-08
12:06:55 UTC (rev 7873)
@@ -58,6 +58,7 @@
}
else
{
+ if (super.isFromHotDeployClassLoader(componentClass)) return true; //Java
ClassLoader classClassLoader = componentClass.getClassLoader().getParent();
//Groovy use an Inner Delegate CL
return classClassLoader == getClassLoader() || classClassLoader ==
getClassLoader().getParent();
}
Show replies by date