Message5474

Author doublep
Recipients cgroves, doublep, leosoto
Date 2010-02-01.14:20:15
SpamBayes Score 1.5547355e-05
Marked as misclassified No
Message-id <1265034015.68.0.605778032079.issue1216@psf.upfronthosting.co.za>
In-reply-to
Content
> The downside of the context class loader is that Jython can't determine who set it.

It doesn't have to, really.  Context class loader is supposed to be "the right thing".  If it happens to be not the right thing for any reason, users can always override it with PySystemState#setClassLoader you mentioned, right?

> JavaEE containers differ on what they do with the context class loader

They presumably know how to find classes of the application better.  Jython should "trust" their decision.  If that happens to be wrong, it is a bug in the container, not in Jython; and, in any case, there is still a way to override.
History
Date User Action Args
2010-02-01 14:20:15doublepsetmessageid: <1265034015.68.0.605778032079.issue1216@psf.upfronthosting.co.za>
2010-02-01 14:20:15doublepsetrecipients: + doublep, cgroves, leosoto
2010-02-01 14:20:15doubleplinkissue1216 messages
2010-02-01 14:20:15doublepcreate