Browse Source

simplify patch a little further

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274609 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
223af50bbc
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java

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

@@ -834,9 +834,8 @@ public class JUnitTask extends Task {
try {
log("Using System properties " + System.getProperties(),
Project.MSG_VERBOSE);
Path userClasspath = commandline.getClasspath();
if (userClasspath != null) {
cl = createClassLoader();
cl = createClassLoader();
if (cl != null) {
cl.setThreadContextLoader();
}
runner = new JUnitTestRunner(test, test.getHaltonerror(),


Loading…
Cancel
Save