|
|
@@ -513,7 +513,8 @@ public class AntClassLoader extends ClassLoader implements BuildListener { |
|
|
|
* Should not be <code>null</code>. |
|
|
|
*/ |
|
|
|
public void addSystemPackageRoot(String packageRoot) { |
|
|
|
systemPackages.addElement(packageRoot + "."); |
|
|
|
systemPackages.addElement(packageRoot |
|
|
|
+ (packageRoot.endsWith(".") ? "" : ".")); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
@@ -526,7 +527,8 @@ public class AntClassLoader extends ClassLoader implements BuildListener { |
|
|
|
* Should not be <code>null</code>. |
|
|
|
*/ |
|
|
|
public void addLoaderPackageRoot(String packageRoot) { |
|
|
|
loaderPackages.addElement(packageRoot + "."); |
|
|
|
loaderPackages.addElement(packageRoot |
|
|
|
+ (packageRoot.endsWith(".") ? "" : ".")); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|