Array marking

Godmar Back gback@cs.utah.edu
Mon May 1 14:53:00 GMT 2000


 FWIW, there is no "class finalization" in Java. It has been removed 
from the language spec quite some time ago. 
If you need it, you'll have to use a finalizer of a static field, as in
	private static Object finalhelper = new Object() {
	 protected void finalizer() {
		...
	 }
	}
Maybe you're talking about something else though?
 - Godmar
>> If we want classes to be finalized after all their objects, it should be
> possible to get the collector to enforce that. 

[...]
> > 
> > Since Java has unordered finalizers, is there any reason to expect class
> > finalization to wait until all instances of the class have been finalized?

[...]


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /