Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/jruby/test_context_classloader.rb
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ def setup
end

def test_main_thread
assert_equal(JRuby.runtime.jruby_class_loader.parent, java.lang.Thread.current_thread.context_class_loader)
assert_equal(JRuby.runtime.jruby_class_loader.parent, org.jruby.Ruby.java_class.class_loader || java.lang.Thread.current_thread.context_class_loader)
end

def test_ruby_thread

0 comments on commit 5f8f8c8

Please sign in to comment.