jruby/jruby — pull request #1468 by ratnikov (2014-02-01 03:41:14+00:00)
Title: Fix jar globbing for real now.

Seems like the root cause is that my JarDirectoryResource listFiles implementation was faulty. Should be fixed now.

I had to update the test to expect some "phantom" directory entries when dealing with jars. However, that's behavior that is identical to as if the jar were extracted. For example, if jar contained file "foo/bar.txt" the Dir["...jar!**/*"] now correctly returns both .jar!/foo and .jar!/foo/bar.txt entries, since if extracted, foo/ directory would be created.