git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@630093 13f79535-47bb-0310-9956-ffa450edef68master
@@ -5,7 +5,7 @@ | |||||
========================================================================= | ========================================================================= | ||||
Apache Ant | Apache Ant | ||||
Copyright 1999-2006 The Apache Software Foundation | |||||
Copyright 1999-2008 The Apache Software Foundation | |||||
This product includes software developed by | This product includes software developed by | ||||
The Apache Software Foundation (http://www.apache.org/). | The Apache Software Foundation (http://www.apache.org/). | ||||
@@ -53,9 +53,6 @@ Fixed bugs: | |||||
* <touch> task couldn't differentiate between "no resources specified" and "no resources | * <touch> task couldn't differentiate between "no resources specified" and "no resources | ||||
matched." Bugzilla report 43799. | matched." Bugzilla report 43799. | ||||
Other changes: | Other changes: | ||||
-------------- | -------------- | ||||
@@ -206,6 +203,11 @@ Fixed bugs: | |||||
* Regession nested macrodefs with elements could cause StackOverFlow. | * Regession nested macrodefs with elements could cause StackOverFlow. | ||||
Bugzilla 43324. | Bugzilla 43324. | ||||
* Some changes to <junit> broke third party tasks that extend it (like | |||||
Apache Cactus' Ant task). The changes have been modified so that | |||||
subclases should now work again - without any changes to the | |||||
subclass. | |||||
Other changes: | Other changes: | ||||
-------------- | -------------- | ||||
@@ -748,6 +748,10 @@ public class JUnitTask extends Task { | |||||
/** | /** | ||||
* Sets up the delegate that will actually run the tests. | * Sets up the delegate that will actually run the tests. | ||||
* | |||||
* <p>Will be invoked implicitly once the delegate is needed.</p> | |||||
* | |||||
* @since Ant 1.7.1 | |||||
*/ | */ | ||||
protected void setupJUnitDelegate() { | protected void setupJUnitDelegate() { | ||||
ClassLoader myLoader = JUnitTask.class.getClassLoader(); | ClassLoader myLoader = JUnitTask.class.getClassLoader(); | ||||
@@ -1604,6 +1608,12 @@ public class JUnitTask extends Task { | |||||
/** | /** | ||||
* Removes resources. | * Removes resources. | ||||
* | |||||
* <p>Is invoked in {@link #execute execute}. Subclasses that | |||||
* don't invoke execute should invoke this method in a finally | |||||
* block.</p> | |||||
* | |||||
* @since Ant 1.7.1 | |||||
*/ | */ | ||||
protected void cleanup() { | protected void cleanup() { | ||||
deleteClassLoader(); | deleteClassLoader(); | ||||
@@ -26,7 +26,7 @@ | |||||
<section name="Legal Stuff They Make Us Say"> | <section name="Legal Stuff They Make Us Say"> | ||||
<p>All material on this website is Copyright © 1999-2004, | |||||
<p>All material on this website is Copyright © 1999-2008, | |||||
The Apache Software Foundation.</p> | The Apache Software Foundation.</p> | ||||
<p>Sun, Sun Microsystems, Solaris, Java, JavaServer Web | <p>Sun, Sun Microsystems, Solaris, Java, JavaServer Web | ||||