Re[3]: [gclist] Finalization and object orientation.

Colvin, Greg
Thu, 27 Mar 97 21:47:40

>at some level it must be known that file handles are a 'scarce' 
>resource, so at some level you could do something like:
>try {
>   file = IO.openFile(fileName);
>} catch (noFileHandlesLeft e) {
>   Runtime.doGarbageCollection();
>   Runtime.doFinalisation();
>file = IO.openFile(fileName);
Right, except that Java's finalization call is not required to do anything 
at all.