|
|
@@ -66,7 +66,7 @@ import java.util.jar.Attributes; |
|
|
|
import java.util.jar.Attributes.Name; |
|
|
|
import java.net.URL; |
|
|
|
import java.net.MalformedURLException; |
|
|
|
import java.util.zip.ZipEntry; |
|
|
|
import java.util.jar.JarEntry; |
|
|
|
import java.util.StringTokenizer; |
|
|
|
import org.apache.tools.ant.util.FileUtils; |
|
|
|
|
|
|
@@ -277,7 +277,7 @@ public class AntClassLoader2 extends AntClassLoader { |
|
|
|
try { |
|
|
|
jarFile = new JarFile(pathComponent); |
|
|
|
manifestStream |
|
|
|
= jarFile.getInputStream(new ZipEntry("META-INF/MANIFEST.MF")); |
|
|
|
= jarFile.getInputStream(new JarEntry("META-INF/MANIFEST.MF")); |
|
|
|
|
|
|
|
if (manifestStream == null) { |
|
|
|
return; |
|
|
|