ZipFile/JarFile OPEN_DELETE mode

Mark Wielaard mark@klomp.org
Sun Aug 27 13:45:00 GMT 2000


Hi,

Since 1.3 ZipFile and JarFile have a new constructor that can take a
OPEN_DELETE mode. When constructed with OPEN_DELETE the ZipFile is
deleted when closed or garbege collected.

I made the following patch. OK to commit?

2000-08-27  Mark Wielaard  <mark@klomp.org>

    * java/util/zip/ZipFile.java: Implement OPEN_DELETE mode, new constructor,
    close can delete the file, finalize calls close.
    * java/util/jar/JarFile.java: Constructor that takes mode now calls super.


Cheers,

Mark


More information about the Java-patches mailing list