aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>2000-09-04 21:20:27 +0000
committerTom Tromey <tromey@gcc.gnu.org>2000-09-04 21:20:27 +0000
commit23e95411172be3b2a994b82da8d3a78bf9c96a9d (patch)
treed2eb2328fa5eab09acb2edfe6a24e2b3c8e80bf4 /libjava/java
parenta1fa0b27e7d6ce96e3c903527787ddbeeeaebaf6 (diff)
downloadgcc-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
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/util/zip/ZipFile.java2
1 files changed, 1 insertions, 1 deletions
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
{