yes, I believe it does not work if you kill the JVM.  I think it also
did not work if you call System.exit(), but I am don't remember that
exactly.  At least that use to be the case.

Bryan Pendleton wrote:
Mike Matrigali wrote:

2) determine if the existing lock is false, ie. the creating process
   exited without cleaning up the lock file.


Is the reason that this is hard because File.deleteOnExit() is not reliable?

thanks,

bryan






Reply via email to