| @@ -109,6 +109,9 @@ Other changes: | |||||
| * it is now possible to use references to Ant types and classloaders | * it is now possible to use references to Ant types and classloaders | ||||
| built around Ant <path>s as values for TraX factory attributes. | built around Ant <path>s as values for TraX factory attributes. | ||||
| * AntClassLoader and its subclasses register themselves as parallel | |||||
| capable. | |||||
| Changes from Ant 1.9.6 TO Ant 1.9.7 | Changes from Ant 1.9.6 TO Ant 1.9.7 | ||||
| =================================== | =================================== | ||||
| @@ -73,6 +73,10 @@ public class AntClassLoader extends ClassLoader implements SubBuildListener, Clo | |||||
| private static final FileUtils FILE_UTILS = FileUtils.getFileUtils(); | private static final FileUtils FILE_UTILS = FileUtils.getFileUtils(); | ||||
| static { | |||||
| registerAsParallelCapable(); | |||||
| } | |||||
| /** | /** | ||||
| * An enumeration of all resources of a given name found within the | * An enumeration of all resources of a given name found within the | ||||
| * classpath of this class loader. This enumeration is used by the | * classpath of this class loader. This enumeration is used by the | ||||
| @@ -25,6 +25,10 @@ import org.apache.tools.ant.AntClassLoader; | |||||
| * Just use {@link AntClassLoader} itself. | * Just use {@link AntClassLoader} itself. | ||||
| */ | */ | ||||
| public class AntClassLoader2 extends AntClassLoader { | public class AntClassLoader2 extends AntClassLoader { | ||||
| static { | |||||
| registerAsParallelCapable(); | |||||
| } | |||||
| /** No args constructor. */ | /** No args constructor. */ | ||||
| public AntClassLoader2() { | public AntClassLoader2() { | ||||
| } | } | ||||
| @@ -27,6 +27,10 @@ import org.apache.tools.ant.types.Path; | |||||
| * Just use {@link AntClassLoader} itself. | * Just use {@link AntClassLoader} itself. | ||||
| */ | */ | ||||
| public class AntClassLoader5 extends AntClassLoader { | public class AntClassLoader5 extends AntClassLoader { | ||||
| static { | |||||
| registerAsParallelCapable(); | |||||
| } | |||||
| /** | /** | ||||
| * Creates a classloader for the given project using the classpath given. | * Creates a classloader for the given project using the classpath given. | ||||
| * | * | ||||