Message5476

Author leosoto
Recipients cgroves, doublep, leosoto
Date 2010-02-01.15:02:13
SpamBayes Score 1.2704738e-08
Marked as misclassified No
Message-id <1265036533.57.0.386317166143.issue1216@psf.upfronthosting.co.za>
In-reply-to
Content
It's not that easy. Ant is a practical example that just using context classloader can be wrong. 

When running Jython tasks such as Jycompile Ant sets the right current classpath but doesn't update the Thread's context class loader.

Just assuming that the context class loader is always set always a sensible value is not safe in the real world.
History
Date User Action Args
2010-02-01 15:02:13leosotosetmessageid: <1265036533.57.0.386317166143.issue1216@psf.upfronthosting.co.za>
2010-02-01 15:02:13leosotosetrecipients: + leosoto, cgroves, doublep
2010-02-01 15:02:13leosotolinkissue1216 messages
2010-02-01 15:02:13leosotocreate