🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18268

My class is getting garbage collected!!

#18268
From: R.C. vd Zon
Date: Fri, 24 Jul 1998 00:00
14 lines
957 bytes
Wow, I don't like this,
I have a class with a static Object in it.

When the Garbage collector is beeng called, my class is beeng freed
because I don't have a reference to it.
While my class is beeng distroyed, my static Object is also gone, and I
really don't like that.

How is this possible, and what can I do about it ?
My class is an abstract class so I can't instanciate an object of is to
keep a reference.

Robbert vd Zon
DDC
Technical Details
Message-ID: <35B856C8.16678CC8@dicon.nl>
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: f74b3,383b88513ee0cfb5,start
X-Google-Attributes: gidf74b3,public
From: "R.C. vd Zon" <vdzon@dicon.nl>
Subject: My class is getting garbage collected!!
Date: 1998/07/24
Message-ID: <35B856C8.16678CC8@dicon.nl>
X-Deja-AN: 374532174
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Dicon Automatisering bv
Mime-Version: 1.0
Reply-To: vdzon@dicon.nl
Newsgroups: borland.public.jbuilder.java.language