Bill,
>
> 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. 
I dunno, seems like a lot of effort for a little benefit and the 
resulting behavior seems questionable.  I'd put this in the 99% of 
optimizations that aren't worth doing (unless someone has proof that 
serious performance benefits accrue in a real-world application).
                Josh
-------------------------------
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