🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #880

Does the destructor allways run

#880
From: Per Petersson
Date: Thu, 13 Apr 2000 00:00
10 lines
1009 bytes
I've got the impression that the finalize method doesn't run  if the object
dies on program termination.
What I mean is that if I have an object and then do System.exit() somewhere
the finalize method of that object doesnt run .

Could someone please say that I'm wrong (or right).

P.S. I'm running JDK1.3 Beta on Win NT 4.0 System
Thanks for any comments on this.
Per
Technical Details
Message-ID: <OqmJ4.85$7j.35014@newnews.hk-r.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,d47246c9f9878080,start
X-Google-Attributes: gid10d6db,public
From: "Per Petersson" <pt98ppe@student.hk-r.se>
Subject: Does the destructor allways run
Date: 2000/04/13
Message-ID: <OqmJ4.85$7j.35014@newnews.hk-r.se>
X-Deja-AN: 610726676
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.3825.400
X-Trace: newnews.hk-r.se 955642670 194.47.149.215 (Thu, 13 Apr 2000 18:17:50 MET DST)
Organization: University of Karlskrona/Ronneby
X-MSMail-Priority: Normal
NNTP-Posting-Date: Thu, 13 Apr 2000 18:17:50 MET DST
Newsgroups: aus.computers.java