aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/util/jar/JarFile.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/util/jar/JarFile.java')
-rw-r--r--libjava/java/util/jar/JarFile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/util/jar/JarFile.java b/libjava/java/util/jar/JarFile.java
index bcf7dd8..a266f30 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(super.getEntry(name));
+ JarEntry jarEntry = new JarEntry(entry);
if (manifest != null) {
jarEntry.attr = manifest.getAttributes(name);
// XXX jarEntry.certs