https://issues.apache.org/bugzilla/show_bug.cgi?id=43867





--- Comment #63 from Aaron Digulla <[EMAIL PROTECTED]>  2008-08-07 00:49:48 PST 
---
> As far as I remember, static fields are bound
> at the ClassLoader level

Class loading is a two step process. First, the class is loaded, then it is
initialized. Static fields are filled in the second step when the static code
of the class is executed.

> (they do not span them)

The static fields are bound to the class object but that doesn't prevent you to
use the class object created by classloader A in the context of classloader B.

This whole stuff is a huge mess and it can drive you crazy which is why most
people want to avoid it but you can't when using something like Tomcat. The
most simple solution is probably to use a "one app per app server" policy but
that has other drawbacks.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to