You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the very same code will fail on servlet engines or whenever jruby has nothing to do with Thread.current_thread.getContextClassLoader like OSGi containers.
not sure about features which ONLY works via org.jruby.Main is the right thing to do.
The text was updated successfully, but these errors were encountered:
nirvdrum
changed the title
become_java classses are not in general part of Thread.current_thread.getContextClassLoader
become_java classes are not in general part of Thread.current_thread.getContextClassLoader
Dec 16, 2014
this tests
https://github.com/jruby/jruby/blob/master/spec/java_integration/reify/become_java_spec.rb#L111
fails unless it is run via org.jruby.Main where the
Thread.current_thread.getContextClassLoader
is set toruntime.getJRubyClassLoader
.the very same code will fail on servlet engines or whenever jruby has nothing to do with
Thread.current_thread.getContextClassLoader
like OSGi containers.not sure about features which ONLY works via
org.jruby.Main
is the right thing to do.related to: #2025
The text was updated successfully, but these errors were encountered: