commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch: delete files on exit


From: Mark Wielaard
Subject: Re: Patch: delete files on exit
Date: Thu, 20 May 2004 15:14:30 +0200

Hi,

On Wed, 2004-05-19 at 13:37, Michael Koch wrote:
>
> 2004-05-19  Guilhem Lavaux  <address@hidden>
> 
>       * java/io/DeleteFileHelper.java: New file.
>       * java/io/File.java
>       (deleteOnExit): Implemented.
> [...]
> +  static
> +  {
> +    Runtime.getRuntime().addShutdownHook(new DeleteFileHelper());
> +  }

This part is not necessary since add(File) does this if necessary (in
the correct security context). Please remove the static block since now
we have duplicate ShutdownHooks.

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]