JarFile.java: Don't call java.util.zip.ZipFile.getEntry twice.
* java/util/jar/JarFile.java: Don't call java.util.zip.ZipFile.getEntry twice. From Mark Wielaard <mark@klomp.org>. From-SVN: r35824
This commit is contained in:
parent
9c66892187
commit
53e687fabb
@ -1,3 +1,9 @@
|
||||
Sun Aug 20 12:33:43 2000 Anthony Green <green@redhat.com>
|
||||
|
||||
* java/util/jar/JarFile.java: Don't call
|
||||
java.util.zip.ZipFile.getEntry twice. From Mark Wielaard
|
||||
<mark@klomp.org>.
|
||||
|
||||
Sun Aug 20 09:51:48 2000 Anthony Green <green@redhat.com>
|
||||
|
||||
* java/net/URLClassLoader.java: Find the JarEntry via the JarFile.
|
||||
|
@ -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(super.getEntry(name));
|
||||
JarEntry jarEntry = new JarEntry(entry);
|
||||
if (manifest != null) {
|
||||
jarEntry.attr = manifest.getAttributes(name);
|
||||
// XXX jarEntry.certs
|
||||
|
Loading…
Reference in New Issue
Block a user