Patch: ZipFile -vs- temporary files
Tom Tromey
tromey@cygnus.com
Mon Sep 4 14:20:00 GMT 2000
I'm checking this in. It fixes the ZipFile constructor to reflect
Anthony's work on File.deleteOnExit.
2000-09-04 Tom Tromey <tromey@cygnus.com>
* java/util/zip/ZipFile.java (ZipFile): Delete file when opened in
DELETE mode.
Tom
Index: java/util/zip/ZipFile.java
===================================================================
RCS file: /cvs/java/libgcj/libjava/java/util/zip/ZipFile.java,v
retrieving revision 1.13
diff -u -r1.13 ZipFile.java
--- ZipFile.java 2000/08/29 03:23:57 1.13
+++ ZipFile.java 2000/09/04 21:19:53
@@ -40,7 +40,7 @@
if ((mode & OPEN_DELETE) != 0)
{
delete_on_close = f;
- // f.deleteOnExit(); XXX - Not yet implemented in libgcj
+ f.deleteOnExit();
}
else
{
More information about the Java-patches
mailing list