On Sat, Dec 13, 2003 at 07:37:21PM +0800, Niclas Hedhman wrote: > On Saturday 13 December 2003 18:21, Stephen McConnell wrote: > > Life is hard, and then you die wrote: > > >Section 12.6.1 of the > > >JLS 2.0 is a good read for this. > > > > http://java.sun.com/docs/books/jls/second_edition/html/execution.doc.html#4 > >4760 Just the thing for a Saturday morning! > > Indeed... very tough reading (as is most of JLS - how many would have become > Java programmers if that was the only book/info about Java?) > > BUT, I think you are still a bit wrong;
Who is "you"? > When the hard reference to the Proxy is dropped, BOTH the Proxy AND the > component becomes Finalizer-Reachable/Unfinalized (State Transition B). > <quote> > A finalizer-reachable object can be reached from some finalizable object > through some chain of references, but not from any live thread. > </quote> > > (Actually when I am staring at that statement, I think it is actually written > wrongly. For a lone object with a finalize() method, that is not reachable, > the diagram shows it must be finalizer-reachable, but the text says it must > be reachable by a finalizable object somewhere. Which finalizable object > would that be?) Itself. Cheers, Ronald --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
