mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
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
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user