I've spent some time trying to update JRuby so that I could leave
JRuby's bundle classloader as the default classloader (so I don't have
to export builtin/* from that bundle), but still allow JRuby to load
classes from other classloaders.  I have something that's working for
my simple test case, but I'd like someone more familiar with JRuby's
internals to take a look and tell me what I may be doing wrong.

For now, I'm not sure how to tie in to the import statement that
require 'java' makes available, so I'm manually calling
JavaUtilities.get_proxy_class to make a class from a separate bundle
available.

My test app: https://github.com/ajuckel/net.juckel.osgirubytest
My jruby fork (branch osgi has my changes): https://github.com/ajuckel/jruby
The specific commit adding ClassLoaders:
https://github.com/ajuckel/jruby/commit/ff00e2823be1dab0054ceea39afa507bdf96188d

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to