Uwe Kubosch created JRUBY-6560: ---------------------------------- Summary: File.expand_path for path starting with "jar:file:" fails Key: JRUBY-6560 URL: https://jira.codehaus.org/browse/JRUBY-6560 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.6.7, JRuby 1.7 Environment: OS X Lion Apple Java
Reporter: Uwe Kubosch Fix For: JRuby 1.7 These tests fail. Current dir is being inserted. {noformat} def test_expand_path_with_jar_file_prefix jruby_specific_test assert_equal "jar:file:/foo.jar!/bar", File.expand_path("jar:file:/foo.jar!/bar") assert_equal "jar:file:/foo.jar!/bar", File.expand_path("jar:file:/foo.jar!/baz/../bar") assert_equal "jar:file:/foo.jar!/bar/baz", File.expand_path("baz", "jar:file:/foo.jar!/bar") assert_equal "jar:file:/foo.jar!/bar", File.expand_path("jar:file:/foo.jar!/bar", "jar:file:/baz.jar!/quux") assert_equal "file:/foo.jar!/bar", File.expand_path("file:/foo.jar!/bar", "jar:file:/baz.jar!/quux") 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