On Tue, 2005-07-05 at 16:15 -0400, Bryce McKinlay wrote:
> Class preparation is distinct from initialization. Preparation is 
> effectively linking the class: laying out its fields, initializing class 
> data structures in the VM, etc. Initialization involves actually running 
> Java code to initialize the classes static fields, and any "static" code 
> blocks the class may have. The point at which initialization occurs is 
> strictly defined by the JLS, and its pretty easy to write a program that 
> will behave differently if initializations are not performed in the 
> "right" order.

<warning type="newbie">
So can a class be prepared by a user application and not be initialized?
</warning>

Keith



_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to