In comp.object Mattias Lundstr�m wrote: : Note also that in the case of Java this kind of resource : cleanup may not be satisfactory since we can not know when : the finalization (cleanup) is actually done. In Java you should always explicitly handle resource deallocation for all resources that are in any way "precious". Use... try {} finally { deallocation } to ensure that deallocation will occur no later than the exit of the "try" body. -- Patrick Logan (H) mailto:plogan@teleport.com (W) mailto:patrickl@gemstone.com http://www.gemstone.com