Similar fix to test as:

https://github.com/jruby/jruby/commit/ed0b7ab1dfa76dee16ecfacbd07624a55b264c69
Merge pull request #2282 from ratnikov/fix-2222

Fix jar loading test in test/test_file.rb