From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,aef01dc1d0a3a8bd X-Google-Attributes: gid103376,public From: "Jean-Pierre Rosen" Subject: Re: Dummy Date: 2000/02/05 Message-ID: <87jghc$oj5$3@wanadoo.fr>#1/1 X-Deja-AN: 582208162 References: <387b154a.3533365@newsread.albacom.net><3898C380.BC01EC03@earthlink.net> <3899DB45.B481F8E2@averstar.com><87bt5wlt8l.fsf@deneb.cygnus.argh.org> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: abuse@wanadoo.fr X-Trace: wanadoo.fr 949831020 25189 164.138.184.196 (6 Feb 2000 09:57:00 GMT) Organization: Adalog X-MSMail-Priority: Normal NNTP-Posting-Date: 6 Feb 2000 09:57:00 GMT Newsgroups: comp.lang.ada Date: 2000-02-06T09:57:00+00:00 List-Id: Robert A Duff a �crit dans le message : wcc66w4rcy5.fsf@world.std.com... > Florian Weimer writes: > > > Does this mean that that the finalization of local variables is > > non-deterministic in Java? Ugh. > > Yes. Finalization happens in Java whenever the garbage collector gets > around to noticing that it's needed. > It's even worse. The finalization routine is allowed to resurect the object (for example, by assigning it to some live variable), however it is guaranteed that in that case, finalization will *not* be invoked again, when the object becomes inaccessible for the second time. -- --------------------------------------------------------- J-P. Rosen (Rosen.Adalog@wanadoo.fr) Visit Adalog's web site at http://pro.wanadoo.fr/adalog