[jboss-cvs] JBossAS SVN: r94926 - projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 15 03:22:38 EDT 2009
Author: alesj
Date: 2009-10-15 03:22:38 -0400 (Thu, 15 Oct 2009)
New Revision: 94926
Modified:
projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test/ClassPoolTest.java
Log:
Move TIF out of loop.
Modified: projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test/ClassPoolTest.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test/ClassPoolTest.java 2009-10-15 07:21:26 UTC (rev 94925)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/classpool/test/ClassPoolTest.java 2009-10-15 07:22:38 UTC (rev 94926)
@@ -85,12 +85,12 @@
DeploymentUnit unit = assertDeploy(file);
try
{
+ TypeInfoFactory typeInfoFactory = new JavassistTypeInfoFactory();
ClassLoader classLoader = getClassLoader(unit);
for (Class<?> clazz: classes)
{
String className = clazz.getName();
assertLoadClass(className, classLoader);
- TypeInfoFactory typeInfoFactory = new JavassistTypeInfoFactory();
TypeInfo typeInfo = typeInfoFactory.getTypeInfo(className, classLoader);
assertEquals(className, typeInfo.getName());
assertEquals(classLoader, typeInfo.getType().getClassLoader());
More information about the jboss-cvs-commits
mailing list