Uwe Kubosch created JRUBY-6624: ---------------------------------- Summary: File#exists? cannot find file in JAR Key: JRUBY-6624 URL: https://jira.codehaus.org/browse/JRUBY-6624 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.7 Environment: OS X Lion jruby 1.7.0.dev (ruby-1.9.3-p139) (2012-04-21 694c0b9) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_31) [darwin-x86_64-java]
Reporter: Uwe Kubosch Fix For: JRuby 1.7 The following test added to test/test_file.rb fails: {noformat} def test_file_exists_uri_prefixes assert(!FileTest.exists?("file:test/dir with spaces/test_jar.jar!/abc/foo.rb")) assert(!FileTest.exists?("jar:file:test/dir with spaces/test_jar.jar!/abc/foo.rb")) end {noformat} Other tests work on files in jars. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email