JRuby should not use currentThread().getContextClassLoader() as it causes
incompatibilities with OSGI
-----------------------------------------------------------------------------------------------------
Key: JRUBY-4808
URL: http://jira.codehaus.org/browse/JRUBY-4808
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.5
Reporter: Morten Christensen
Assignee: Thomas E Enebo
JRuby 1.5 uses the context class loader in a few places and this causes
problems with OSGI (see
"http://techblog.41concepts.com/2010/05/21/3-small-steps-for-non-osgi-developers-that-want-to-stay-osgi-compatible/"
for what to do to stay on safe ground).
I have already reported the worst problem in the jsr223 support api in
JRUBY-4806. That bug should be fixed now, but a few places remain (easy to find
by searching for ContextClassLoader or getContextClassLoader across all should
files (f.x. in RubyInstanceConfig and RubyRunnable).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email