Skip to content

Commit

Permalink
make the context classloader test more general to relfect the actual …
Browse files Browse the repository at this point in the history
…implementation
  • Loading branch information
mkristian committed Apr 30, 2015
1 parent 18cd2fb commit 5f8f8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/jruby/test_context_classloader.rb
Expand Up @@ -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
Expand Down

0 comments on commit 5f8f8c8

Please sign in to comment.