On Jun 25, 5:59 pm, Mark Murphy <[email protected]> wrote:
> On Fri, Jun 25, 2010 at 8:47 PM, James Wang <[email protected]> wrote:
> > So what Thread's ContextClassLoader for?
>
> Beats me -- can't even find it in the source code. All I know is that
> this question of replacing the system ClassLoader has come up before,
> and the answer was "you can't, sorry", so I am taking that at face
> value.


If you search the web you can find some uses for the context class
loader.  It's just a handy place to stick a class loader for some
reasonably arcane purposes.  The VM doesn't pay any attention to it.

Classes are associated with the class loader that loaded them (the
"defining" class loader).  You can't put them in a different one.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to