diff options
| author | Tom Tromey <tromey@redhat.com> | 2002-06-03 22:51:34 +0000 |
|---|---|---|
| committer | Tom Tromey <tromey@redhat.com> | 2002-06-03 22:51:34 +0000 |
| commit | 8087c760979ba45e4ec3bfc4bc3ebac905e9bd1e (patch) | |
| tree | 77af7314031d63ebe7c3d035e05d1b753ffaafeb /java/util/zip/ZipInputStream.java | |
| parent | be784d5fd3902e5b365605fbdac7182ed4dab7e8 (diff) | |
| download | classpath-8087c760979ba45e4ec3bfc4bc3ebac905e9bd1e.tar.gz | |
* java/util/zip/ZipEntry.java (clone): Copy `extra' field.
* java/util/zip/ZipInputStream.java (getNextEntry): Use
createZipEntry.
Diffstat (limited to 'java/util/zip/ZipInputStream.java')
| -rw-r--r-- | java/util/zip/ZipInputStream.java | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |
