sbailliez 02/02/25 12:01:16
Modified: src/main/org/apache/tools/ant/taskdefs/optional/junit
JUnitTask.java
Log:
GUMP Experiment.
As Stefan noted, the context classloader is probably causing trouble with
JAXP.
Disabled for now just to see the result of the next run.
Revision Changes Path
1.36 +3 -3
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
Index: JUnitTask.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- JUnitTask.java 25 Feb 2002 15:33:19 -0000 1.35
+++ JUnitTask.java 25 Feb 2002 20:01:15 -0000 1.36
@@ -141,7 +141,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Gerrit Riessen</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Erik Hatcher</a>
*
- * @version $Revision: 1.35 $
+ * @version $Revision: 1.36 $
*
* @see JUnitTest
* @see BatchTest
@@ -616,7 +616,7 @@
cl.addSystemPackageRoot("junit");
// will cause trouble in JDK 1.1 if omitted
cl.addSystemPackageRoot("org.apache.tools.ant");
- cl.setThreadContextLoader();
+ //cl.setThreadContextLoader();
}
runner = new JUnitTestRunner(test, test.getHaltonerror(),
test.getFiltertrace(), test.getHaltonfailure(), cl);
if (summary) {
@@ -647,7 +647,7 @@
if (sysProperties != null) {
sysProperties.restoreSystem();
}
- cl.resetThreadContextLoader();
+ //cl.resetThreadContextLoader();
}
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>