[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Patch: File.deleteOnExit()
From: |
Jeroen Frijters |
Subject: |
RE: Patch: File.deleteOnExit() |
Date: |
Mon, 17 May 2004 12:40:58 +0200 |
Michael Koch wrote:
> The attached patch written by Guilhem Lavaux implements
> File.deleteOnExit() in an easy way.
>
> Ok to commit ?
It doesn't make me happy to preallocate all these objects (and in
general, the less static initializers the better). Shouldn't we just
move DeleteFileHelper to gnu.java.io (or whatever) and make it a proper
singleton? That way the singleton will be allocated lazily upon first
use of File.deleteOnExit().
Regards,
Jeroen