Browse Source

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.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271549 13f79535-47bb-0310-9956-ffa450edef68
master
Stephane Bailliez 23 years ago
parent
commit
f6736c632d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java View File

@@ -616,7 +616,7 @@ public class JUnitTask extends Task {
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 @@ public class JUnitTask extends Task {
if (sysProperties != null) {
sysProperties.restoreSystem();
}
cl.resetThreadContextLoader();
//cl.resetThreadContextLoader();
}
}



Loading…
Cancel
Save