Uwe Kubosch created JRUBY-6627:
----------------------------------
Summary: File#open fails for file in a JAR with a "jar:" prefix in
the path
Key: JRUBY-6627
URL: https://jira.codehaus.org/browse/JRUBY-6627
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.7
Environment: jruby 1.7.0.dev (ruby-1.9.3-p139) (2012-04-27 12065c3)
(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 fails for the second assertion:
{noformat}
def test_open_file_in_jar
File.open('file:test/dir with spaces/test_jar.jar!/abc/foo.rb'){}
File.open('jar:file:test/dir with spaces/test_jar.jar!/abc/foo.rb'){}
end
{noformat}
--
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