diff options
author | Anthony Green <green@redhat.com> | 2000-08-20 17:49:12 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2000-08-20 17:49:12 +0000 |
commit | f2e541ce26c87f29e2a2798b85674725a6aa094a (patch) | |
tree | a667239f51829ad45d70131f03d739cc10cb341b /libjava/java/util/jar | |
parent | 1175b9b4c50acab6a26f3fa5ce7299cae62b5008 (diff) | |
download | gcc-f2e541ce26c87f29e2a2798b85674725a6aa094a.zip gcc-f2e541ce26c87f29e2a2798b85674725a6aa094a.tar.gz gcc-f2e541ce26c87f29e2a2798b85674725a6aa094a.tar.bz2 |
URLClassLoader.java: Find the JarEntry via the JarFile.
Sun Aug 20 09:51:48 2000 Anthony Green <green@redhat.com>
* java/net/URLClassLoader.java: Find the JarEntry via the JarFile.
* java/net/JarURLConnection.java: getEntry doesn't take any
arguments. Return null if element is null.
* java/util/zip/ZipFile.java (getInputStream): Read the compressed
size from the archive, not the inflated size.
* java/util/jar/JarFile.java (getEntry): Don't recurse. Call
java.util.zip.ZipFile.getEntry.
* gij.cc (help): Change sourceware reference to
sources.redhat.com.
From-SVN: r35821
Diffstat (limited to 'libjava/java/util/jar')
-rw-r--r-- | libjava/java/util/jar/JarFile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/util/jar/JarFile.java b/libjava/java/util/jar/JarFile.java index 3f1823a..bcf7dd8 100644 --- a/libjava/java/util/jar/JarFile.java +++ b/libjava/java/util/jar/JarFile.java @@ -232,7 +232,7 @@ public class JarFile extends ZipFile { public ZipEntry getEntry(String name) { ZipEntry entry = super.getEntry(name); if (entry != null) { - JarEntry jarEntry = new JarEntry(getEntry(name)); + JarEntry jarEntry = new JarEntry(super.getEntry(name)); if (manifest != null) { jarEntry.attr = manifest.getAttributes(name); // XXX jarEntry.certs |