On Sep 7, 8:33 pm, Charles Oliver Nutter <[email protected]> wrote:
> The trickiest bit with importing classes at runtime is that there's no > standard way to get a list of all classes in a given package. Jython > uses a trick where it pre-scans jars and saves an index to be used for > package listings. JRuby just installs a "const_missing" hook into the > appropriate scope which then does the equivalent of Class.forName. Had a quick look at Jython. I think you are referring to following? /trunk/jython/src/org/python/core/packagecache Will have a better look tomorrow, but this seems like what I am looking for. Thanks and Regards -- You received this message because you are subscribed to the Google Groups "JVM Languages" 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/jvm-languages?hl=en.
