Browse Source

Fix for the NPE that makes the Cactus build fail.

Actually test6 of taskdef.xml failed as well, I just didnd't run it
after my last changes as it is not part of the testsuite - argh.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269402 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
e11e04dc6e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/UnknownElement.java

+ 1
- 1
src/main/org/apache/tools/ant/UnknownElement.java View File

@@ -127,7 +127,7 @@ public class UnknownElement extends Task {
realChild = makeTask(child, childWrapper);
((TaskContainer) parent).addTask((Task) realChild);
} else {
ih.createElement(project, parent, child.getTag());
realChild = ih.createElement(project, parent, child.getTag());
}

childWrapper.setProxy(realChild);


Loading…
Cancel
Save