diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-09-04 21:20:27 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-09-04 21:20:27 +0000 |
commit | 23e95411172be3b2a994b82da8d3a78bf9c96a9d (patch) | |
tree | d2eb2328fa5eab09acb2edfe6a24e2b3c8e80bf4 | |
parent | a1fa0b27e7d6ce96e3c903527787ddbeeeaebaf6 (diff) | |
download | gcc-23e95411172be3b2a994b82da8d3a78bf9c96a9d.zip gcc-23e95411172be3b2a994b82da8d3a78bf9c96a9d.tar.gz gcc-23e95411172be3b2a994b82da8d3a78bf9c96a9d.tar.bz2 |
ZipFile.java (ZipFile): Delete file when opened in DELETE mode.
* java/util/zip/ZipFile.java (ZipFile): Delete file when opened in
DELETE mode.
From-SVN: r36144
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/java/util/zip/ZipFile.java | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index d4b4b94..ddde20e 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2000-09-04 Tom Tromey <tromey@cygnus.com> + + * java/util/zip/ZipFile.java (ZipFile): Delete file when opened in + DELETE mode. + 2000-09-04 Anthony Green <green@redhat.com> Fix for PR java.io/203: diff --git a/libjava/java/util/zip/ZipFile.java b/libjava/java/util/zip/ZipFile.java index b983c7b3..58e2748 100644 --- a/libjava/java/util/zip/ZipFile.java +++ b/libjava/java/util/zip/ZipFile.java @@ -40,7 +40,7 @@ public class ZipFile implements ZipConstants if ((mode & OPEN_DELETE) != 0) { delete_on_close = f; - // f.deleteOnExit(); XXX - Not yet implemented in libgcj + f.deleteOnExit(); } else { |