Message4039

Author marcdownie
Recipients marcdownie, yanne
Date 2009-01-13.05:30:00
SpamBayes Score 0.0031516487
Marked as misclassified No
Message-id <1231824625.11.0.699811694718.issue1230@psf.upfronthosting.co.za>
In-reply-to
Content
To my eye, the bogus lines of code are (at least) the calls to Py.findClass at 
PackageManager.java:110 and PathPackageManager.java:167

If I replace:

jpkg.addClass(jname, Py.findClass(jname));

with 

jpkg.addClass(jname, Py.findClass(jpkg.__name__+"."+jname));

In both spots, then I can import * on both my own classes (on my classpath and 
available through my custom classloaders) and on, say, java.lang.* things in the 
bootclasspath.

It's possible (likely?) that this should actually be a call to this.findClass(...) 
but to prove that I'd need to have a handle on the difference between Py.findClass 
and Py.findClassEx.
History
Date User Action Args
2009-01-13 05:30:25marcdowniesetmessageid: <1231824625.11.0.699811694718.issue1230@psf.upfronthosting.co.za>
2009-01-13 05:30:25marcdowniesetrecipients: + marcdownie, yanne
2009-01-13 05:30:22marcdownielinkissue1230 messages
2009-01-13 05:30:17marcdowniecreate