Well I hope you they invent the API
`System.onJVMExit( ExitNotifiable myIWannaBeNotifiedAtExitObject )'
Otherwise how can we be sure that resources are released
when the JVM exits. That temporary file creating utility
object class will be soon redundant then, won't it?
( I guess this also touches my Can Java catch signals
post a couple moons ago. )
Pete
______________________________ Reply Separator _________________________________
Subject: Re: System.runFinalizersOnExit
Author: pohnewein ([EMAIL PROTECTED]) at lon-mime
Date: 23/02/99 13:19
I don't know if it works in the blackdown port.
I only know that the problem with running finalizers is that they get
called sequencely and that leads to problems, because in a complex
reference structure they shouldn't get called sequencely but depending
on the structure, but that's very difficult if not impossible in most
cases, therefore I guess they don't want to allow it anymore.
That's what I think, correct me.
P@
[EMAIL PROTECTED] wrote:
>
> `` System.runFinalizersOnExit(true) ''
>
> Does this work/implemented on Blackdown JDK 1.1.7-1a or not?
>
> I find it does __not__ work for me ?
> Meaning no finalizers are called when the JVM terminates.
> However I tested the same code on Solaris/Sun JDK and it works!
> Anyone know the reason why?
>
> ( And yes I know in Java 2 the call is deprecated, and
> I dunno why JavaSoft announced in 1.1 and deprecated in 1.2
> you'ill have to ask them not me. )
>
> Pete
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
-----------------------------------------------------
Save software competition, use Linux and Java!
mailto:[EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]