Message3989

Author cgroves
Recipients cgroves, doublep
Date 2008-12-30.00:02:46
SpamBayes Score 2.8103383e-07
Marked as misclassified No
Message-id <1230595367.15.0.384565063649.issue1216@psf.upfronthosting.co.za>
In-reply-to
Content
Patch applied on trunk in r5812. Thanks!

I changed the implementation a bit, but I don't think it'll make a
difference. Where your patch immediately went to the context class
loader if there wasn't a class loader on sys, the version I committed
tries imp.getSyspathJavaLoader first. Without that, classes on sys.path
will never be found as the context loader either finds it or throws a
ClassNotFoundException.

I also added a test in Lib/test_java_integration.py that imports a class
that's only available on the context class loader and subclasses it, so
I think it's working.
History
Date User Action Args
2008-12-30 00:02:47cgrovessetmessageid: <1230595367.15.0.384565063649.issue1216@psf.upfronthosting.co.za>
2008-12-30 00:02:47cgrovessetrecipients: + cgroves, doublep
2008-12-30 00:02:47cgroveslinkissue1216 messages
2008-12-30 00:02:46cgrovescreate