From 8087c760979ba45e4ec3bfc4bc3ebac905e9bd1e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 3 Jun 2002 22:51:34 +0000 Subject: * java/util/zip/ZipEntry.java (clone): Copy `extra' field. * java/util/zip/ZipInputStream.java (getNextEntry): Use createZipEntry. --- java/util/zip/ZipInputStream.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'java/util/zip/ZipInputStream.java') diff --git a/java/util/zip/ZipInputStream.java b/java/util/zip/ZipInputStream.java index 3c4a5d6f6..63153b649 100644 --- a/java/util/zip/ZipInputStream.java +++ b/java/util/zip/ZipInputStream.java @@ -1,5 +1,5 @@ /* java.util.zip.ZipInputStream - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001, 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -170,7 +170,7 @@ public class ZipInputStream extends InflaterInputStream implements ZipConstants readFully(buffer); String name = new String(buffer); - entry = new ZipEntry(name); + entry = createZipEntry(name); entry.setMethod(method); if ((flags & 8) == 0) { -- cgit v1.2.1