Re: JavaMemoryModel: Finalizers

From: Andreas Sterbenz (Andreas.Sterbenz@sun.com)
Date: Mon Apr 07 2003 - 14:33:09 EDT


Bill Pugh wrote:
>
> If
> * a field is private or package protected
> * the package is sealed, and
> * there is no read of the field nor reflection in the package
>
> You know that the field will not be read.

Seems like a lot of ifs and still does not take
java.lang.reflect.AccessibleObject.setAccessible() into account.

Andreas.

-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel



This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:43 EDT